<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>hashcat-3.201: H:/TDDownload/Hashcat v3.20/hashcat-3.201/src/convert.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">hashcat-3.201
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_06fe396e3e859736df6d43ad26baa72e.html">hashcat-3.201</a></li><li class="navelem"><a class="el" href="dir_9ce3dfc5d638c7f8b2c4ec0f6627771b.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">convert.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;common.h&quot;</code><br />
<code>#include &quot;types.h&quot;</code><br />
<code>#include &quot;convert.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for convert.c:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c__incl.gif" border="0" usemap="#_h_1_2_t_d_download_2_hashcat_01v3_820_2hashcat-3_8201_2src_2convert_8c" alt=""/></div>
<map name="_h_1_2_t_d_download_2_hashcat_01v3_820_2hashcat-3_8201_2src_2convert_8c" id="_h_1_2_t_d_download_2_hashcat_01v3_820_2hashcat-3_8201_2src_2convert_8c">
<area shape="rect"  title=" " alt="" coords="64,5,227,61"/>
<area shape="rect"  title=" " alt="" coords="5,109,88,136"/>
<area shape="rect"  title=" " alt="" coords="113,109,178,136"/>
<area shape="rect"  title=" " alt="" coords="203,109,277,136"/>
</map>
</div>
</div>
<p><a href="convert_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3fadd64188f3a6895cd82062ada514e6"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a3fadd64188f3a6895cd82062ada514e6">printable_utf8</a> (const u8 *buf, const int len)</td></tr>
<tr class="separator:a3fadd64188f3a6895cd82062ada514e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24581c9770964df6695ee679f1d95a8f"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a24581c9770964df6695ee679f1d95a8f">printable_ascii</a> (const u8 *buf, const int len)</td></tr>
<tr class="separator:a24581c9770964df6695ee679f1d95a8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b00d6f60cf0f0b971029f9c1c208ca"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a43b00d6f60cf0f0b971029f9c1c208ca">need_hexify</a> (const u8 *buf, const int len, bool always_ascii)</td></tr>
<tr class="separator:a43b00d6f60cf0f0b971029f9c1c208ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62591b9530b72d05ee1c66241e4f338a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a62591b9530b72d05ee1c66241e4f338a">exec_hexify</a> (const u8 *buf, const int len, u8 *out)</td></tr>
<tr class="separator:a62591b9530b72d05ee1c66241e4f338a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeeb30594929bc083ef218015918bec00"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#aeeb30594929bc083ef218015918bec00">is_valid_hex_char</a> (const u8 c)</td></tr>
<tr class="separator:aeeb30594929bc083ef218015918bec00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28c944485339fb30880c5061c32543e6"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (const u8 c)</td></tr>
<tr class="separator:a28c944485339fb30880c5061c32543e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf6f45e36079c6d12221908914489311"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#aaf6f45e36079c6d12221908914489311">hex_to_u8</a> (const u8 hex[2])</td></tr>
<tr class="separator:aaf6f45e36079c6d12221908914489311"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a786a4744e25bb085ac3655ea7fa600d0"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a786a4744e25bb085ac3655ea7fa600d0">hex_to_u32</a> (const u8 hex[8])</td></tr>
<tr class="separator:a786a4744e25bb085ac3655ea7fa600d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeeffdd2e7ae5cb65a6c640bf5a39d2b8"><td class="memItemLeft" align="right" valign="top">u64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#aeeffdd2e7ae5cb65a6c640bf5a39d2b8">hex_to_u64</a> (const u8 hex[16])</td></tr>
<tr class="separator:aeeffdd2e7ae5cb65a6c640bf5a39d2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa430aff88f97a3b89b3fe052d660bb0a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#aa430aff88f97a3b89b3fe052d660bb0a">bin_to_hex_lower</a> (const u32 v, u8 hex[8])</td></tr>
<tr class="separator:aa430aff88f97a3b89b3fe052d660bb0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3eed39f2f559d25573836e67742833c"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#ac3eed39f2f559d25573836e67742833c">int_to_base32</a> (const u8 c)</td></tr>
<tr class="separator:ac3eed39f2f559d25573836e67742833c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa11d5b117c7e9481ff30b76b44d469e6"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#aa11d5b117c7e9481ff30b76b44d469e6">base32_to_int</a> (const u8 c)</td></tr>
<tr class="separator:aa11d5b117c7e9481ff30b76b44d469e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3deddbc210138a04b4094ba9df1e03ce"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a3deddbc210138a04b4094ba9df1e03ce">int_to_itoa32</a> (const u8 c)</td></tr>
<tr class="separator:a3deddbc210138a04b4094ba9df1e03ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade9401d721d49bdbc0837cd2f1e8c410"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#ade9401d721d49bdbc0837cd2f1e8c410">itoa32_to_int</a> (const u8 c)</td></tr>
<tr class="separator:ade9401d721d49bdbc0837cd2f1e8c410"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae384a18a644a9b3c56befb6155b220d4"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#ae384a18a644a9b3c56befb6155b220d4">int_to_itoa64</a> (const u8 c)</td></tr>
<tr class="separator:ae384a18a644a9b3c56befb6155b220d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5db38db16f682f415bbed595c9f78cf"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#aa5db38db16f682f415bbed595c9f78cf">itoa64_to_int</a> (const u8 c)</td></tr>
<tr class="separator:aa5db38db16f682f415bbed595c9f78cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaab6799788a4363c4ac5029d6dff8b02"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#aaab6799788a4363c4ac5029d6dff8b02">int_to_base64</a> (const u8 c)</td></tr>
<tr class="separator:aaab6799788a4363c4ac5029d6dff8b02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19e7097e5311840b4e5c7202b65e839a"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a19e7097e5311840b4e5c7202b65e839a">base64_to_int</a> (const u8 c)</td></tr>
<tr class="separator:a19e7097e5311840b4e5c7202b65e839a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab30270523d7ede370c0111cf347eda7f"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#ab30270523d7ede370c0111cf347eda7f">int_to_bf64</a> (const u8 c)</td></tr>
<tr class="separator:ab30270523d7ede370c0111cf347eda7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a874d57412837d4e3c9eacab58e192cc3"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a874d57412837d4e3c9eacab58e192cc3">bf64_to_int</a> (const u8 c)</td></tr>
<tr class="separator:a874d57412837d4e3c9eacab58e192cc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b1be10d8bd9fcf359014b934c65012a"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a9b1be10d8bd9fcf359014b934c65012a">int_to_lotus64</a> (const u8 c)</td></tr>
<tr class="separator:a9b1be10d8bd9fcf359014b934c65012a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebc128f91ff8d770a898aca466ceac2f"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#aebc128f91ff8d770a898aca466ceac2f">lotus64_to_int</a> (const u8 c)</td></tr>
<tr class="separator:aebc128f91ff8d770a898aca466ceac2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac22f0486b40188ccdeddc76ef8e358c8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#ac22f0486b40188ccdeddc76ef8e358c8">base32_decode</a> (u8(*f)(const u8), const u8 *in_buf, int in_len, u8 *out_buf)</td></tr>
<tr class="separator:ac22f0486b40188ccdeddc76ef8e358c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6509bb6c92c7868fc0fef7b1e41d549"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#ac6509bb6c92c7868fc0fef7b1e41d549">base32_encode</a> (u8(*f)(const u8), const u8 *in_buf, int in_len, u8 *out_buf)</td></tr>
<tr class="separator:ac6509bb6c92c7868fc0fef7b1e41d549"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fb2d4d3afc16886ea4ddc8b8d0e9a49"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a0fb2d4d3afc16886ea4ddc8b8d0e9a49">base64_decode</a> (u8(*f)(const u8), const u8 *in_buf, int in_len, u8 *out_buf)</td></tr>
<tr class="separator:a0fb2d4d3afc16886ea4ddc8b8d0e9a49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc8cc579f00b5e29feac10c9849f25ab"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#acc8cc579f00b5e29feac10c9849f25ab">base64_encode</a> (u8(*f)(const u8), const u8 *in_buf, int in_len, u8 *out_buf)</td></tr>
<tr class="separator:acc8cc579f00b5e29feac10c9849f25ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad54bea4a6f0f90682ae7af02cefe8a3f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#ad54bea4a6f0f90682ae7af02cefe8a3f">lowercase</a> (u8 *buf, int len)</td></tr>
<tr class="separator:ad54bea4a6f0f90682ae7af02cefe8a3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1412e96e57910ce2ffee8c05dc7088c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="convert_8c.html#a1412e96e57910ce2ffee8c05dc7088c1">uppercase</a> (u8 *buf, int len)</td></tr>
<tr class="separator:a1412e96e57910ce2ffee8c05dc7088c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ac22f0486b40188ccdeddc76ef8e358c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac22f0486b40188ccdeddc76ef8e358c8">&#9670;&nbsp;</a></span>base32_decode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int base32_decode </td>
          <td>(</td>
          <td class="paramtype">u8(*)(const u8)&#160;</td>
          <td class="paramname"><em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>in_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>in_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>out_buf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00391">391</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;{</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;  <span class="keyword">const</span> u8 *in_ptr = in_buf;</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;  u8 *out_ptr = out_buf;</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; in_len; i += 8)</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;  {</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;    <span class="keyword">const</span> u8 out_val0 = f (in_ptr[0] &amp; 0x7f);</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    <span class="keyword">const</span> u8 out_val1 = f (in_ptr[1] &amp; 0x7f);</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;    <span class="keyword">const</span> u8 out_val2 = f (in_ptr[2] &amp; 0x7f);</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    <span class="keyword">const</span> u8 out_val3 = f (in_ptr[3] &amp; 0x7f);</div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;    <span class="keyword">const</span> u8 out_val4 = f (in_ptr[4] &amp; 0x7f);</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;    <span class="keyword">const</span> u8 out_val5 = f (in_ptr[5] &amp; 0x7f);</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;    <span class="keyword">const</span> u8 out_val6 = f (in_ptr[6] &amp; 0x7f);</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;    <span class="keyword">const</span> u8 out_val7 = f (in_ptr[7] &amp; 0x7f);</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;    out_ptr[0] =                            ((out_val0 &lt;&lt; 3) &amp; 0xf8) | ((out_val1 &gt;&gt; 2) &amp; 0x07);</div><div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;    out_ptr[1] = ((out_val1 &lt;&lt; 6) &amp; 0xc0) | ((out_val2 &lt;&lt; 1) &amp; 0x3e) | ((out_val3 &gt;&gt; 4) &amp; 0x01);</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;    out_ptr[2] =                            ((out_val3 &lt;&lt; 4) &amp; 0xf0) | ((out_val4 &gt;&gt; 1) &amp; 0x0f);</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    out_ptr[3] = ((out_val4 &lt;&lt; 7) &amp; 0x80) | ((out_val5 &lt;&lt; 2) &amp; 0x7c) | ((out_val6 &gt;&gt; 3) &amp; 0x03);</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;    out_ptr[4] =                            ((out_val6 &lt;&lt; 5) &amp; 0xe0) | ((out_val7 &gt;&gt; 0) &amp; 0x1f);</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    in_ptr  += 8;</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;    out_ptr += 5;</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;  }</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; in_len; i++)</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;  {</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    <span class="keywordflow">if</span> (in_buf[i] != <span class="charliteral">&#39;=&#39;</span>) <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;    in_len = i;</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;  }</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;</div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;  <span class="keywordtype">int</span> out_len = (in_len * 5) / 8;</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;  <span class="keywordflow">return</span> out_len;</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l06730">nsec3_parse_hash()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_ac22f0486b40188ccdeddc76ef8e358c8_icgraph.gif" border="0" usemap="#convert_8c_ac22f0486b40188ccdeddc76ef8e358c8_icgraph" alt=""/></div>
<map name="convert_8c_ac22f0486b40188ccdeddc76ef8e358c8_icgraph" id="convert_8c_ac22f0486b40188ccdeddc76ef8e358c8_icgraph">
<area shape="rect"  title=" " alt="" coords="791,5,904,32"/>
<area shape="rect"  href="interface_8c.html#aa40a4ececbe71626be83b08933f9d938" title=" " alt="" coords="612,5,743,32"/>
<area shape="rect"  href="interface_8c.html#a748d227a9485eb76daa5f1e70ea9badc" title=" " alt="" coords="456,5,564,32"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,5,408,32"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,5,277,32"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,5,56,32"/>
</map>
</div>

</div>
</div>
<a id="ac6509bb6c92c7868fc0fef7b1e41d549"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6509bb6c92c7868fc0fef7b1e41d549">&#9670;&nbsp;</a></span>base32_encode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int base32_encode </td>
          <td>(</td>
          <td class="paramtype">u8(*)(const u8)&#160;</td>
          <td class="paramname"><em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>in_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>in_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>out_buf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00430">430</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;{</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;  <span class="keyword">const</span> u8 *in_ptr = in_buf;</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;  u8 *out_ptr = out_buf;</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; in_len; i += 5)</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;  {</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;    <span class="keyword">const</span> u8 out_val0 = f (                            ((in_ptr[0] &gt;&gt; 3) &amp; 0x1f));</div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;    <span class="keyword">const</span> u8 out_val1 = f (((in_ptr[0] &lt;&lt; 2) &amp; 0x1c) | ((in_ptr[1] &gt;&gt; 6) &amp; 0x03));</div><div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;    <span class="keyword">const</span> u8 out_val2 = f (                            ((in_ptr[1] &gt;&gt; 1) &amp; 0x1f));</div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;    <span class="keyword">const</span> u8 out_val3 = f (((in_ptr[1] &lt;&lt; 4) &amp; 0x10) | ((in_ptr[2] &gt;&gt; 4) &amp; 0x0f));</div><div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;    <span class="keyword">const</span> u8 out_val4 = f (((in_ptr[2] &lt;&lt; 1) &amp; 0x1e) | ((in_ptr[3] &gt;&gt; 7) &amp; 0x01));</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;    <span class="keyword">const</span> u8 out_val5 = f (                            ((in_ptr[3] &gt;&gt; 2) &amp; 0x1f));</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;    <span class="keyword">const</span> u8 out_val6 = f (((in_ptr[3] &lt;&lt; 3) &amp; 0x18) | ((in_ptr[4] &gt;&gt; 5) &amp; 0x07));</div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    <span class="keyword">const</span> u8 out_val7 = f (                            ((in_ptr[4] &gt;&gt; 0) &amp; 0x1f));</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;    out_ptr[0] = out_val0 &amp; 0x7f;</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;    out_ptr[1] = out_val1 &amp; 0x7f;</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;    out_ptr[2] = out_val2 &amp; 0x7f;</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;    out_ptr[3] = out_val3 &amp; 0x7f;</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;    out_ptr[4] = out_val4 &amp; 0x7f;</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    out_ptr[5] = out_val5 &amp; 0x7f;</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;    out_ptr[6] = out_val6 &amp; 0x7f;</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;    out_ptr[7] = out_val7 &amp; 0x7f;</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;</div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;    in_ptr  += 5;</div><div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;    out_ptr += 8;</div><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;  }</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;  <span class="keywordtype">int</span> out_len = (int) (((0.5 + in_len) * 8) / 5); <span class="comment">// ceil (in_len * 8 / 5)</span></div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;  <span class="keywordflow">while</span> (out_len % 8)</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;  {</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;    out_buf[out_len] = <span class="charliteral">&#39;=&#39;</span>;</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;</div><div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;    out_len++;</div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;  }</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;  <span class="keywordflow">return</span> out_len;</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l12924">ascii_digest()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_ac6509bb6c92c7868fc0fef7b1e41d549_icgraph.gif" border="0" usemap="#convert_8c_ac6509bb6c92c7868fc0fef7b1e41d549_icgraph" alt=""/></div>
<map name="convert_8c_ac6509bb6c92c7868fc0fef7b1e41d549_icgraph" id="convert_8c_ac6509bb6c92c7868fc0fef7b1e41d549_icgraph">
<area shape="rect"  title=" " alt="" coords="3568,107,3681,133"/>
<area shape="rect"  href="interface_8c.html#a1786621d215322ac6bc1c9f60efa4c8b" title=" " alt="" coords="3429,107,3520,133"/>
<area shape="rect"  href="hashes_8c.html#a5c95202be7d166a6346b342145ed9b1c" title=" " alt="" coords="3261,5,3343,32"/>
<area shape="rect"  href="hashes_8c.html#a941bbcf804b81ac407d485859bf87999" title=" " alt="" coords="1909,157,2001,184"/>
<area shape="rect"  href="potfile_8c.html#ab54e1941ce1ee998c5b86e79d6e57bbc" title=" " alt="" coords="629,56,768,83"/>
<area shape="rect"  href="potfile_8c.html#aa340141d20febc4004a75982ea4927b2" title=" " alt="" coords="456,107,581,133"/>
<area shape="rect"  href="status_8c.html#a1143c80f218b32f866e0cc80ae036bc3" title=" " alt="" coords="3223,321,3381,348"/>
<area shape="rect"  href="monitor_8c.html#a6070c1efbb12309f3d3504ccd1f6ca3d" title=" " alt="" coords="3074,5,3139,32"/>
<area shape="rect"  href="monitor_8c.html#ab9ac4a7731cf2a12f37be8fcdaa38a43" title=" " alt="" coords="2263,5,2371,32"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,132,408,159"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,157,277,184"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,208,56,235"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="1463,360,1573,387"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="1118,661,1209,688"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="1257,411,1387,437"/>
<area shape="rect"  href="dispatch_8c.html#a274118ca9e580459d6e82f6d61a34d59" title=" " alt="" coords="988,687,1069,713"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="1005,636,1052,663"/>
<area shape="rect"  href="dispatch_8c.html#a9e518ec031f388304424fb2852075038" title=" " alt="" coords="816,687,940,713"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="655,661,743,688"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="475,259,563,285"/>
<area shape="rect"  href="dispatch_8c.html#a45ffdf5a91d67bdc7a27b7fe7d39761a" title=" " alt="" coords="833,636,923,663"/>
<area shape="rect"  href="hashcat_8c.html#a325cba22ef98f99a706d99c65989a2c2" title=" " alt="" coords="3039,436,3175,463"/>
<area shape="rect"  href="main__shared_8c.html#ae96d7808ccfe95bbec7a55e2ada91935" title=" " alt="" coords="2870,385,2921,412"/>
<area shape="rect"  href="terminal_8c.html#ae3a80a3f67aa1810c8d9e49911f490a6" title=" " alt="" coords="2814,538,2977,579"/>
<area shape="rect"  href="terminal_8c.html#a64a36e504f5e3a0b633b17dcfcf8366f" title=" " alt="" coords="2634,487,2741,513"/>
<area shape="rect"  href="terminal_8c.html#ab059eb0bceb2ee24e8f86c04f4354d16" title=" " alt="" coords="2800,436,2991,463"/>
<area shape="rect"  href="terminal_8c.html#a30f3bb901b9e4c86fe78abb104c2f2fa" title=" " alt="" coords="2623,436,2752,463"/>
<area shape="rect"  href="main_8c.html#af6ada2a7aa24abc385db81bf2967d967" title=" " alt="" coords="2424,436,2575,463"/>
<area shape="rect"  href="main_8c.html#a4e664697b793b6744c9849c1de53a051" title=" " alt="" coords="2058,538,2201,579"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="2462,487,2537,513"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1929,487,1981,513"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="1117,263,1209,289"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="1657,664,1853,691"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="1477,461,1559,488"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="1692,309,1819,336"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="1671,613,1839,640"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="1435,816,1601,843"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="1672,411,1839,437"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="1674,360,1837,387"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="1649,715,1861,741"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="1669,512,1841,539"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="1689,563,1821,589"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="1269,857,1375,884"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="1466,664,1570,691"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="1461,715,1575,741"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="1450,765,1586,792"/>
<area shape="rect"  href="opencl_8c.html#a6b485c94e6a1ed68eb8a230b59947aba" title=" " alt="" coords="1269,661,1375,688"/>
<area shape="rect"  href="autotune_8c.html#a58022d7cc5d8126f33e8635c5ae62c2b" title=" " alt="" coords="1286,719,1358,745"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="2257,487,2376,513"/>
<area shape="rect"  href="main_8c.html#aa9cb60ea1fd75f8faf5ce16454f526ec" title=" " alt="" coords="2049,487,2209,513"/>
</map>
</div>

</div>
</div>
<a id="aa11d5b117c7e9481ff30b76b44d469e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa11d5b117c7e9481ff30b76b44d469e6">&#9670;&nbsp;</a></span>base32_to_int()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 base32_to_int </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00227">227</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;{</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;       <span class="keywordflow">if</span> ((c &gt;= <span class="charliteral">&#39;A&#39;</span>) &amp;&amp; (c &lt;= <span class="charliteral">&#39;Z&#39;</span>)) <span class="keywordflow">return</span> c - <span class="charliteral">&#39;A&#39;</span>;</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((c &gt;= <span class="charliteral">&#39;2&#39;</span>) &amp;&amp; (c &lt;= <span class="charliteral">&#39;7&#39;</span>)) <span class="keywordflow">return</span> c - <span class="charliteral">&#39;2&#39;</span> + 26;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="a0fb2d4d3afc16886ea4ddc8b8d0e9a49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fb2d4d3afc16886ea4ddc8b8d0e9a49">&#9670;&nbsp;</a></span>base64_decode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int base64_decode </td>
          <td>(</td>
          <td class="paramtype">u8(*)(const u8)&#160;</td>
          <td class="paramname"><em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>in_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>in_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>out_buf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00472">472</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;{</div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;  <span class="keyword">const</span> u8 *in_ptr = in_buf;</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;  u8 *out_ptr = out_buf;</div><div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;</div><div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; in_len; i += 4)</div><div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;  {</div><div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;    <span class="keyword">const</span> u8 out_val0 = f (in_ptr[0] &amp; 0x7f);</div><div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;    <span class="keyword">const</span> u8 out_val1 = f (in_ptr[1] &amp; 0x7f);</div><div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;    <span class="keyword">const</span> u8 out_val2 = f (in_ptr[2] &amp; 0x7f);</div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;    <span class="keyword">const</span> u8 out_val3 = f (in_ptr[3] &amp; 0x7f);</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;    out_ptr[0] = ((out_val0 &lt;&lt; 2) &amp; 0xfc) | ((out_val1 &gt;&gt; 4) &amp; 0x03);</div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;    out_ptr[1] = ((out_val1 &lt;&lt; 4) &amp; 0xf0) | ((out_val2 &gt;&gt; 2) &amp; 0x0f);</div><div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;    out_ptr[2] = ((out_val2 &lt;&lt; 6) &amp; 0xc0) | ((out_val3 &gt;&gt; 0) &amp; 0x3f);</div><div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;</div><div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;    in_ptr  += 4;</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;    out_ptr += 3;</div><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;  }</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; in_len; i++)</div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;  {</div><div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;    <span class="keywordflow">if</span> (in_buf[i] != <span class="charliteral">&#39;=&#39;</span>) <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;</div><div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;    in_len = i;</div><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;  }</div><div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;</div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;  <span class="keywordtype">int</span> out_len = (in_len * 6) / 8;</div><div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;</div><div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;  <span class="keywordflow">return</span> out_len;</div><div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l02115">bcrypt_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11250">bsdicrypt_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07588">cisco8_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07659">cisco9_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08844">crammd5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03028">descrypt_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08721">djangopbkdf2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l05782">episerver4_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02979">episerver_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l00349">juniper_decrypt_hash()</a>, <a class="el" href="interface_8c_source.html#l02002">parse_and_store_salt()</a>, <a class="el" href="interface_8c_source.html#l10931">pbkdf2_md5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11013">pbkdf2_sha1_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l09924">pbkdf2_sha256_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11100">pbkdf2_sha512_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08918">saph_sha1_parse_hash()</a>, and <a class="el" href="interface_8c_source.html#l07461">scrypt_parse_hash()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a0fb2d4d3afc16886ea4ddc8b8d0e9a49_icgraph.gif" border="0" usemap="#convert_8c_a0fb2d4d3afc16886ea4ddc8b8d0e9a49_icgraph" alt=""/></div>
<map name="convert_8c_a0fb2d4d3afc16886ea4ddc8b8d0e9a49_icgraph" id="convert_8c_a0fb2d4d3afc16886ea4ddc8b8d0e9a49_icgraph">
<area shape="rect"  title=" " alt="" coords="612,412,725,439"/>
<area shape="rect"  href="interface_8c.html#afd58f7fa42c08d07b91f933b2788dee9" title=" " alt="" coords="412,7,544,34"/>
<area shape="rect"  href="interface_8c.html#a351a98cc91234e60f919010cc575139e" title=" " alt="" coords="403,58,553,84"/>
<area shape="rect"  href="interface_8c.html#ae08f7b408ec620b521410aacfe1beed8" title=" " alt="" coords="411,108,545,135"/>
<area shape="rect"  href="interface_8c.html#a61ecd8b29a9db2af071a44322f8b5432" title=" " alt="" coords="411,159,545,186"/>
<area shape="rect"  href="interface_8c.html#ae10f4f82e7e3ba20287e294dd8752c4f" title=" " alt="" coords="403,210,553,236"/>
<area shape="rect"  href="interface_8c.html#af15229470a00f0bc80f2d9d32004f512" title=" " alt="" coords="405,260,551,287"/>
<area shape="rect"  href="interface_8c.html#a0ae490f05e1aad9196fef744286cc0e9" title=" " alt="" coords="392,311,564,338"/>
<area shape="rect"  href="interface_8c.html#ab2e659b84d92bf91bac7725ccbd0b55b" title=" " alt="" coords="175,362,330,388"/>
<area shape="rect"  href="interface_8c.html#a0fe201430ec698339f5d631e0fe70bc9" title=" " alt="" coords="179,412,326,439"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="405,1578,551,1604"/>
<area shape="rect"  href="interface_8c.html#a8c2e7aed0686be8070c2e2c763636049" title=" " alt="" coords="405,1223,551,1250"/>
<area shape="rect"  href="interface_8c.html#ab90a264d500203b9002ab014719b47b8" title=" " alt="" coords="161,2034,344,2060"/>
<area shape="rect"  href="interface_8c.html#a80e13ec26ae67192ca73e47724e59196" title=" " alt="" coords="169,2084,336,2111"/>
<area shape="rect"  href="interface_8c.html#a716732574879b0f1b91b72c707515257" title=" " alt="" coords="168,2135,337,2162"/>
<area shape="rect"  href="interface_8c.html#a91cb9aa10aa1a23ef404a31450fc13c7" title=" " alt="" coords="161,2186,344,2212"/>
<area shape="rect"  href="interface_8c.html#a4b720b1583723ff9f509a3ba3df7f388" title=" " alt="" coords="399,1476,557,1503"/>
<area shape="rect"  href="interface_8c.html#af51c977bc2174ea527274afad9ec3450" title=" " alt="" coords="412,1527,544,1554"/>
<area shape="rect"  href="interface_8c.html#a748d227a9485eb76daa5f1e70ea9badc" title=" " alt="" coords="5,1147,113,1174"/>
<area shape="rect"  href="interface_8c.html#a2c5fe5805daf5848d9c457ae77dfee12" title=" " alt="" coords="181,1172,324,1199"/>
<area shape="rect"  href="interface_8c.html#af94497bf43e07d123d6d8dc68e386887" title=" " alt="" coords="191,1223,315,1250"/>
<area shape="rect"  href="interface_8c.html#a9a43ebf4abd99f502a4d3d3c6db9293d" title=" " alt="" coords="183,1274,322,1300"/>
<area shape="rect"  href="interface_8c.html#a80146ba5fa57c66575e6b3b7efe8ee4e" title=" " alt="" coords="194,1324,311,1351"/>
<area shape="rect"  href="interface_8c.html#a114872fe884f1bfef58320157b4f7dde" title=" " alt="" coords="176,1375,329,1402"/>
<area shape="rect"  href="interface_8c.html#a19aadf1b14c2f9b7a383df54e1dde8a3" title=" " alt="" coords="194,1426,311,1452"/>
<area shape="rect"  href="interface_8c.html#a9115211e9e3263b041178a3d5e25d308" title=" " alt="" coords="191,1476,315,1503"/>
<area shape="rect"  href="interface_8c.html#a29ecd7d869df0d27d00162bbe203b815" title=" " alt="" coords="189,1527,317,1554"/>
<area shape="rect"  href="interface_8c.html#a02a11573687817c95904cbac8cc09437" title=" " alt="" coords="181,1578,324,1604"/>
<area shape="rect"  href="interface_8c.html#a33a313b0f1a4759adae6773641050056" title=" " alt="" coords="177,1628,328,1655"/>
<area shape="rect"  href="interface_8c.html#a71e61b05b04a6cbfa9efdf5e96c0df62" title=" " alt="" coords="185,1679,320,1706"/>
<area shape="rect"  href="interface_8c.html#a23ab2b5a1284d8dd7fbfbae55a92c441" title=" " alt="" coords="175,1730,331,1756"/>
<area shape="rect"  href="interface_8c.html#a88f1b7b9fa68bdfc5ac6b04394bad151" title=" " alt="" coords="179,1780,326,1807"/>
<area shape="rect"  href="interface_8c.html#ac2bc71c1df22109a4b08cf02114e0f15" title=" " alt="" coords="195,1831,310,1858"/>
<area shape="rect"  href="interface_8c.html#a96745e9a2c107a853c3c609019dd011b" title=" " alt="" coords="191,1882,314,1908"/>
<area shape="rect"  href="interface_8c.html#aada45e99374548a9093bebfffd95ecc5" title=" " alt="" coords="194,1932,311,1959"/>
<area shape="rect"  href="interface_8c.html#a7968f702e55592a82204d3bda388eba3" title=" " alt="" coords="193,1983,313,2010"/>
<area shape="rect"  href="interface_8c.html#ad3534b8542dda3eb6421b2c5fbd9a916" title=" " alt="" coords="187,463,318,490"/>
<area shape="rect"  href="interface_8c.html#a320bd3334b3dede48046b34a0b732863" title=" " alt="" coords="173,514,332,540"/>
<area shape="rect"  href="interface_8c.html#af243bec5d4c400644bc7585c587265bd" title=" " alt="" coords="173,564,332,591"/>
<area shape="rect"  href="interface_8c.html#a70855f6ef6b7d6ff60a73137cfa03884" title=" " alt="" coords="173,615,332,642"/>
<area shape="rect"  href="interface_8c.html#aea981aa55f62d0e4734a020b87e273fb" title=" " alt="" coords="183,666,322,692"/>
<area shape="rect"  href="interface_8c.html#a565aca487e89217bc7862cda478fc825" title=" " alt="" coords="183,716,322,743"/>
<area shape="rect"  href="interface_8c.html#afeb9ae84ede112262475ead0b88a8158" title=" " alt="" coords="180,767,325,794"/>
<area shape="rect"  href="interface_8c.html#a85cfbd620e4b8b50567e8041ad9d9ee8" title=" " alt="" coords="180,818,325,844"/>
<area shape="rect"  href="interface_8c.html#abbf26499a53b3d5641eddb4d67ce5000" title=" " alt="" coords="175,868,330,895"/>
<area shape="rect"  href="interface_8c.html#ae5486cdc7d0cc3f7f8d81446daaf71a3" title=" " alt="" coords="180,919,325,946"/>
<area shape="rect"  href="interface_8c.html#a55912bb88443315b370feddc0ee84c32" title=" " alt="" coords="176,970,329,996"/>
<area shape="rect"  href="interface_8c.html#a6df4b88e7c469caa0a252960704acead" title=" " alt="" coords="175,1020,331,1047"/>
<area shape="rect"  href="interface_8c.html#a7e65db9dc6c591f6c0874521d75c8e21" title=" " alt="" coords="167,1071,338,1098"/>
<area shape="rect"  href="interface_8c.html#a9250f009a72026473b76b26f29945462" title=" " alt="" coords="167,1122,338,1148"/>
</map>
</div>

</div>
</div>
<a id="acc8cc579f00b5e29feac10c9849f25ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc8cc579f00b5e29feac10c9849f25ab">&#9670;&nbsp;</a></span>base64_encode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int base64_encode </td>
          <td>(</td>
          <td class="paramtype">u8(*)(const u8)&#160;</td>
          <td class="paramname"><em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>in_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>in_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>out_buf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00505">505</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;{</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;  <span class="keyword">const</span> u8 *in_ptr = in_buf;</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;  u8 *out_ptr = out_buf;</div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;</div><div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; in_len; i += 3)</div><div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;  {</div><div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;    <span class="keyword">const</span> u8 out_val0 = f (                            ((in_ptr[0] &gt;&gt; 2) &amp; 0x3f));</div><div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;    <span class="keyword">const</span> u8 out_val1 = f (((in_ptr[0] &lt;&lt; 4) &amp; 0x30) | ((in_ptr[1] &gt;&gt; 4) &amp; 0x0f));</div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;    <span class="keyword">const</span> u8 out_val2 = f (((in_ptr[1] &lt;&lt; 2) &amp; 0x3c) | ((in_ptr[2] &gt;&gt; 6) &amp; 0x03));</div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;    <span class="keyword">const</span> u8 out_val3 = f (                            ((in_ptr[2] &gt;&gt; 0) &amp; 0x3f));</div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;</div><div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;    out_ptr[0] = out_val0 &amp; 0x7f;</div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;    out_ptr[1] = out_val1 &amp; 0x7f;</div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;    out_ptr[2] = out_val2 &amp; 0x7f;</div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;    out_ptr[3] = out_val3 &amp; 0x7f;</div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;</div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;    in_ptr  += 3;</div><div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;    out_ptr += 4;</div><div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;  }</div><div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;</div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;  <span class="keywordtype">int</span> out_len = (int) (((0.5 + in_len) * 8) / 6); <span class="comment">// ceil (in_len * 8 / 6)</span></div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;</div><div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;  <span class="keywordflow">while</span> (out_len % 4)</div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;  {</div><div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;    out_buf[out_len] = <span class="charliteral">&#39;=&#39;</span>;</div><div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;</div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;    out_len++;</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;  }</div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;</div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;  <span class="keywordflow">return</span> out_len;</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l12924">ascii_digest()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_acc8cc579f00b5e29feac10c9849f25ab_icgraph.gif" border="0" usemap="#convert_8c_acc8cc579f00b5e29feac10c9849f25ab_icgraph" alt=""/></div>
<map name="convert_8c_acc8cc579f00b5e29feac10c9849f25ab_icgraph" id="convert_8c_acc8cc579f00b5e29feac10c9849f25ab_icgraph">
<area shape="rect"  title=" " alt="" coords="3568,107,3681,133"/>
<area shape="rect"  href="interface_8c.html#a1786621d215322ac6bc1c9f60efa4c8b" title=" " alt="" coords="3429,107,3520,133"/>
<area shape="rect"  href="hashes_8c.html#a5c95202be7d166a6346b342145ed9b1c" title=" " alt="" coords="3261,5,3343,32"/>
<area shape="rect"  href="hashes_8c.html#a941bbcf804b81ac407d485859bf87999" title=" " alt="" coords="1909,157,2001,184"/>
<area shape="rect"  href="potfile_8c.html#ab54e1941ce1ee998c5b86e79d6e57bbc" title=" " alt="" coords="629,56,768,83"/>
<area shape="rect"  href="potfile_8c.html#aa340141d20febc4004a75982ea4927b2" title=" " alt="" coords="456,107,581,133"/>
<area shape="rect"  href="status_8c.html#a1143c80f218b32f866e0cc80ae036bc3" title=" " alt="" coords="3223,321,3381,348"/>
<area shape="rect"  href="monitor_8c.html#a6070c1efbb12309f3d3504ccd1f6ca3d" title=" " alt="" coords="3074,5,3139,32"/>
<area shape="rect"  href="monitor_8c.html#ab9ac4a7731cf2a12f37be8fcdaa38a43" title=" " alt="" coords="2263,5,2371,32"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,132,408,159"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,157,277,184"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,208,56,235"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="1463,360,1573,387"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="1118,661,1209,688"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="1257,411,1387,437"/>
<area shape="rect"  href="dispatch_8c.html#a274118ca9e580459d6e82f6d61a34d59" title=" " alt="" coords="988,687,1069,713"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="1005,636,1052,663"/>
<area shape="rect"  href="dispatch_8c.html#a9e518ec031f388304424fb2852075038" title=" " alt="" coords="816,687,940,713"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="655,661,743,688"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="475,259,563,285"/>
<area shape="rect"  href="dispatch_8c.html#a45ffdf5a91d67bdc7a27b7fe7d39761a" title=" " alt="" coords="833,636,923,663"/>
<area shape="rect"  href="hashcat_8c.html#a325cba22ef98f99a706d99c65989a2c2" title=" " alt="" coords="3039,436,3175,463"/>
<area shape="rect"  href="main__shared_8c.html#ae96d7808ccfe95bbec7a55e2ada91935" title=" " alt="" coords="2870,385,2921,412"/>
<area shape="rect"  href="terminal_8c.html#ae3a80a3f67aa1810c8d9e49911f490a6" title=" " alt="" coords="2814,538,2977,579"/>
<area shape="rect"  href="terminal_8c.html#a64a36e504f5e3a0b633b17dcfcf8366f" title=" " alt="" coords="2634,487,2741,513"/>
<area shape="rect"  href="terminal_8c.html#ab059eb0bceb2ee24e8f86c04f4354d16" title=" " alt="" coords="2800,436,2991,463"/>
<area shape="rect"  href="terminal_8c.html#a30f3bb901b9e4c86fe78abb104c2f2fa" title=" " alt="" coords="2623,436,2752,463"/>
<area shape="rect"  href="main_8c.html#af6ada2a7aa24abc385db81bf2967d967" title=" " alt="" coords="2424,436,2575,463"/>
<area shape="rect"  href="main_8c.html#a4e664697b793b6744c9849c1de53a051" title=" " alt="" coords="2058,538,2201,579"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="2462,487,2537,513"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1929,487,1981,513"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="1117,263,1209,289"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="1657,664,1853,691"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="1477,461,1559,488"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="1692,309,1819,336"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="1671,613,1839,640"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="1435,816,1601,843"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="1672,411,1839,437"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="1674,360,1837,387"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="1649,715,1861,741"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="1669,512,1841,539"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="1689,563,1821,589"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="1269,857,1375,884"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="1466,664,1570,691"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="1461,715,1575,741"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="1450,765,1586,792"/>
<area shape="rect"  href="opencl_8c.html#a6b485c94e6a1ed68eb8a230b59947aba" title=" " alt="" coords="1269,661,1375,688"/>
<area shape="rect"  href="autotune_8c.html#a58022d7cc5d8126f33e8635c5ae62c2b" title=" " alt="" coords="1286,719,1358,745"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="2257,487,2376,513"/>
<area shape="rect"  href="main_8c.html#aa9cb60ea1fd75f8faf5ce16454f526ec" title=" " alt="" coords="2049,487,2209,513"/>
</map>
</div>

</div>
</div>
<a id="a19e7097e5311840b4e5c7202b65e839a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19e7097e5311840b4e5c7202b65e839a">&#9670;&nbsp;</a></span>base64_to_int()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 base64_to_int </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00305">305</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;{</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;  <span class="keyword">const</span> u8 tbl[0x100] =</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;  {</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x3f,</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    0x00, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e,</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;    0x00, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28,</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;  };</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;  <span class="keywordflow">return</span> tbl[c];</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l08844">crammd5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08721">djangopbkdf2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l05782">episerver4_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02979">episerver_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l00349">juniper_decrypt_hash()</a>, <a class="el" href="interface_8c_source.html#l02389">netscreen_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02002">parse_and_store_salt()</a>, <a class="el" href="interface_8c_source.html#l10931">pbkdf2_md5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11013">pbkdf2_sha1_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l09924">pbkdf2_sha256_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11100">pbkdf2_sha512_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08918">saph_sha1_parse_hash()</a>, and <a class="el" href="interface_8c_source.html#l07461">scrypt_parse_hash()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a19e7097e5311840b4e5c7202b65e839a_icgraph.gif" border="0" usemap="#convert_8c_a19e7097e5311840b4e5c7202b65e839a_icgraph" alt=""/></div>
<map name="convert_8c_a19e7097e5311840b4e5c7202b65e839a_icgraph" id="convert_8c_a19e7097e5311840b4e5c7202b65e839a_icgraph">
<area shape="rect"  title=" " alt="" coords="612,1619,715,1646"/>
<area shape="rect"  href="interface_8c.html#ae10f4f82e7e3ba20287e294dd8752c4f" title=" " alt="" coords="403,27,553,54"/>
<area shape="rect"  href="interface_8c.html#a0ae490f05e1aad9196fef744286cc0e9" title=" " alt="" coords="392,106,564,133"/>
<area shape="rect"  href="interface_8c.html#ab2e659b84d92bf91bac7725ccbd0b55b" title=" " alt="" coords="175,99,330,126"/>
<area shape="rect"  href="interface_8c.html#a0fe201430ec698339f5d631e0fe70bc9" title=" " alt="" coords="179,150,326,177"/>
<area shape="rect"  href="interface_8c.html#a665f1535d028c08e85a988055d5516f3" title=" " alt="" coords="405,1923,551,1950"/>
<area shape="rect"  href="interface_8c.html#a114872fe884f1bfef58320157b4f7dde" title=" " alt="" coords="176,201,329,227"/>
<area shape="rect"  href="interface_8c.html#a8c2e7aed0686be8070c2e2c763636049" title=" " alt="" coords="405,1163,551,1190"/>
<area shape="rect"  href="interface_8c.html#ab90a264d500203b9002ab014719b47b8" title=" " alt="" coords="161,2025,344,2051"/>
<area shape="rect"  href="interface_8c.html#a80e13ec26ae67192ca73e47724e59196" title=" " alt="" coords="169,2075,336,2102"/>
<area shape="rect"  href="interface_8c.html#a716732574879b0f1b91b72c707515257" title=" " alt="" coords="168,2126,337,2153"/>
<area shape="rect"  href="interface_8c.html#a91cb9aa10aa1a23ef404a31450fc13c7" title=" " alt="" coords="161,2177,344,2203"/>
<area shape="rect"  href="interface_8c.html#a4b720b1583723ff9f509a3ba3df7f388" title=" " alt="" coords="399,1822,557,1849"/>
<area shape="rect"  href="interface_8c.html#af51c977bc2174ea527274afad9ec3450" title=" " alt="" coords="412,1873,544,1899"/>
<area shape="rect"  href="interface_8c.html#a748d227a9485eb76daa5f1e70ea9badc" title=" " alt="" coords="5,1138,113,1165"/>
<area shape="rect"  href="interface_8c.html#a2c5fe5805daf5848d9c457ae77dfee12" title=" " alt="" coords="181,1923,324,1950"/>
<area shape="rect"  href="interface_8c.html#af94497bf43e07d123d6d8dc68e386887" title=" " alt="" coords="191,1974,315,2001"/>
<area shape="rect"  href="interface_8c.html#a9a43ebf4abd99f502a4d3d3c6db9293d" title=" " alt="" coords="183,251,322,278"/>
<area shape="rect"  href="interface_8c.html#a80146ba5fa57c66575e6b3b7efe8ee4e" title=" " alt="" coords="194,302,311,329"/>
<area shape="rect"  href="interface_8c.html#a19aadf1b14c2f9b7a383df54e1dde8a3" title=" " alt="" coords="194,353,311,379"/>
<area shape="rect"  href="interface_8c.html#a9115211e9e3263b041178a3d5e25d308" title=" " alt="" coords="191,403,315,430"/>
<area shape="rect"  href="interface_8c.html#a29ecd7d869df0d27d00162bbe203b815" title=" " alt="" coords="189,454,317,481"/>
<area shape="rect"  href="interface_8c.html#a02a11573687817c95904cbac8cc09437" title=" " alt="" coords="181,505,324,531"/>
<area shape="rect"  href="interface_8c.html#a33a313b0f1a4759adae6773641050056" title=" " alt="" coords="177,555,328,582"/>
<area shape="rect"  href="interface_8c.html#a71e61b05b04a6cbfa9efdf5e96c0df62" title=" " alt="" coords="185,606,320,633"/>
<area shape="rect"  href="interface_8c.html#a23ab2b5a1284d8dd7fbfbae55a92c441" title=" " alt="" coords="175,657,331,683"/>
<area shape="rect"  href="interface_8c.html#a88f1b7b9fa68bdfc5ac6b04394bad151" title=" " alt="" coords="179,707,326,734"/>
<area shape="rect"  href="interface_8c.html#ac2bc71c1df22109a4b08cf02114e0f15" title=" " alt="" coords="195,758,310,785"/>
<area shape="rect"  href="interface_8c.html#a96745e9a2c107a853c3c609019dd011b" title=" " alt="" coords="191,809,314,835"/>
<area shape="rect"  href="interface_8c.html#aada45e99374548a9093bebfffd95ecc5" title=" " alt="" coords="194,859,311,886"/>
<area shape="rect"  href="interface_8c.html#a7968f702e55592a82204d3bda388eba3" title=" " alt="" coords="193,910,313,937"/>
<area shape="rect"  href="interface_8c.html#ad3534b8542dda3eb6421b2c5fbd9a916" title=" " alt="" coords="187,961,318,987"/>
<area shape="rect"  href="interface_8c.html#a320bd3334b3dede48046b34a0b732863" title=" " alt="" coords="173,1011,332,1038"/>
<area shape="rect"  href="interface_8c.html#af243bec5d4c400644bc7585c587265bd" title=" " alt="" coords="173,1062,332,1089"/>
<area shape="rect"  href="interface_8c.html#a70855f6ef6b7d6ff60a73137cfa03884" title=" " alt="" coords="173,1113,332,1139"/>
<area shape="rect"  href="interface_8c.html#aea981aa55f62d0e4734a020b87e273fb" title=" " alt="" coords="183,1163,322,1190"/>
<area shape="rect"  href="interface_8c.html#a565aca487e89217bc7862cda478fc825" title=" " alt="" coords="183,1214,322,1241"/>
<area shape="rect"  href="interface_8c.html#afeb9ae84ede112262475ead0b88a8158" title=" " alt="" coords="180,1265,325,1291"/>
<area shape="rect"  href="interface_8c.html#a85cfbd620e4b8b50567e8041ad9d9ee8" title=" " alt="" coords="180,1315,325,1342"/>
<area shape="rect"  href="interface_8c.html#abbf26499a53b3d5641eddb4d67ce5000" title=" " alt="" coords="175,1366,330,1393"/>
<area shape="rect"  href="interface_8c.html#ae5486cdc7d0cc3f7f8d81446daaf71a3" title=" " alt="" coords="180,1417,325,1443"/>
<area shape="rect"  href="interface_8c.html#a55912bb88443315b370feddc0ee84c32" title=" " alt="" coords="176,1467,329,1494"/>
<area shape="rect"  href="interface_8c.html#a6df4b88e7c469caa0a252960704acead" title=" " alt="" coords="175,1518,331,1545"/>
<area shape="rect"  href="interface_8c.html#a7e65db9dc6c591f6c0874521d75c8e21" title=" " alt="" coords="167,1569,338,1595"/>
<area shape="rect"  href="interface_8c.html#a9250f009a72026473b76b26f29945462" title=" " alt="" coords="167,1619,338,1646"/>
<area shape="rect"  href="interface_8c.html#a6a8a27476492a4e3f4d69675327d090f" title=" " alt="" coords="191,1670,315,1697"/>
<area shape="rect"  href="interface_8c.html#adb5cb53c0c266d3d053ef905f2725f95" title=" " alt="" coords="191,1721,315,1747"/>
<area shape="rect"  href="interface_8c.html#ab6aff2a2fa56719489fc2f3230c34cfb" title=" " alt="" coords="173,1771,332,1798"/>
<area shape="rect"  href="interface_8c.html#aa40a4ececbe71626be83b08933f9d938" title=" " alt="" coords="187,1822,318,1849"/>
<area shape="rect"  href="interface_8c.html#ad47fb749a43eca0c23bf700bc3db283d" title=" " alt="" coords="189,1873,316,1899"/>
</map>
</div>

</div>
</div>
<a id="a874d57412837d4e3c9eacab58e192cc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a874d57412837d4e3c9eacab58e192cc3">&#9670;&nbsp;</a></span>bf64_to_int()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 bf64_to_int </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00343">343</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;{</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;  <span class="keyword">const</span> u8 tbl[0x100] =</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;  {</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;    0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    0x00, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10,</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    0x00, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a,</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;  };</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;  <span class="keywordflow">return</span> tbl[c];</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l02115">bcrypt_parse_hash()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a874d57412837d4e3c9eacab58e192cc3_icgraph.gif" border="0" usemap="#convert_8c_a874d57412837d4e3c9eacab58e192cc3_icgraph" alt=""/></div>
<map name="convert_8c_a874d57412837d4e3c9eacab58e192cc3_icgraph" id="convert_8c_a874d57412837d4e3c9eacab58e192cc3_icgraph">
<area shape="rect"  title=" " alt="" coords="792,5,877,32"/>
<area shape="rect"  href="interface_8c.html#afd58f7fa42c08d07b91f933b2788dee9" title=" " alt="" coords="612,5,744,32"/>
<area shape="rect"  href="interface_8c.html#a748d227a9485eb76daa5f1e70ea9badc" title=" " alt="" coords="456,5,564,32"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,5,408,32"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,5,277,32"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,5,56,32"/>
</map>
</div>

</div>
</div>
<a id="aa430aff88f97a3b89b3fe052d660bb0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa430aff88f97a3b89b3fe052d660bb0a">&#9670;&nbsp;</a></span>bin_to_hex_lower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void bin_to_hex_lower </td>
          <td>(</td>
          <td class="paramtype">const u32&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>hex</em>[8]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00193">193</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;{</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;  hex[0] = v &gt;&gt; 28 &amp; 15;</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;  hex[1] = v &gt;&gt; 24 &amp; 15;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;  hex[2] = v &gt;&gt; 20 &amp; 15;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;  hex[3] = v &gt;&gt; 16 &amp; 15;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;  hex[4] = v &gt;&gt; 12 &amp; 15;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;  hex[5] = v &gt;&gt;  8 &amp; 15;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;  hex[6] = v &gt;&gt;  4 &amp; 15;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;  hex[7] = v &gt;&gt;  0 &amp; 15;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;  u32 add;</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;  hex[0] += 6; add = ((hex[0] &amp; 0x10u) &gt;&gt; 4) * 39; hex[0] += 42 + add;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;  hex[1] += 6; add = ((hex[1] &amp; 0x10u) &gt;&gt; 4) * 39; hex[1] += 42 + add;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;  hex[2] += 6; add = ((hex[2] &amp; 0x10u) &gt;&gt; 4) * 39; hex[2] += 42 + add;</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;  hex[3] += 6; add = ((hex[3] &amp; 0x10u) &gt;&gt; 4) * 39; hex[3] += 42 + add;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;  hex[4] += 6; add = ((hex[4] &amp; 0x10u) &gt;&gt; 4) * 39; hex[4] += 42 + add;</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;  hex[5] += 6; add = ((hex[5] &amp; 0x10u) &gt;&gt; 4) * 39; hex[5] += 42 + add;</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;  hex[6] += 6; add = ((hex[6] &amp; 0x10u) &gt;&gt; 4) * 39; hex[6] += 42 + add;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;  hex[7] += 6; add = ((hex[7] &amp; 0x10u) &gt;&gt; 4) * 39; hex[7] += 42 + add;</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l03977">ipb2_parse_hash()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_aa430aff88f97a3b89b3fe052d660bb0a_icgraph.gif" border="0" usemap="#convert_8c_aa430aff88f97a3b89b3fe052d660bb0a_icgraph" alt=""/></div>
<map name="convert_8c_aa430aff88f97a3b89b3fe052d660bb0a_icgraph" id="convert_8c_aa430aff88f97a3b89b3fe052d660bb0a_icgraph">
<area shape="rect"  title=" " alt="" coords="780,5,903,32"/>
<area shape="rect"  href="interface_8c.html#a7968f702e55592a82204d3bda388eba3" title=" " alt="" coords="612,5,732,32"/>
<area shape="rect"  href="interface_8c.html#a748d227a9485eb76daa5f1e70ea9badc" title=" " alt="" coords="456,5,564,32"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,5,408,32"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,5,277,32"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,5,56,32"/>
</map>
</div>

</div>
</div>
<a id="a62591b9530b72d05ee1c66241e4f338a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62591b9530b72d05ee1c66241e4f338a">&#9670;&nbsp;</a></span>exec_hexify()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void exec_hexify </td>
          <td>(</td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>out</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00106">106</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;{</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="keyword">const</span> <span class="keywordtype">int</span> max_len = (len &gt;= 31) ? 31 : len;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = max_len - 1, j = i * 2; i &gt;= 0; i -= 1, j -= 2)</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  {</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keyword">const</span> u8 v = buf[i];</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    u8 h0 = v &gt;&gt; 4 &amp; 15;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    u8 h1 = v &gt;&gt; 0 &amp; 15;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    u8 add;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    h0 += 6; add = ((h0 &amp; 0x10) &gt;&gt; 4) * 39; h0 += 42 + add;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    h1 += 6; add = ((h1 &amp; 0x10) &gt;&gt; 4) * 39; h1 += 42 + add;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    out[j + 0] = h0;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    out[j + 1] = h1;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;  }</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;  out[max_len * 2] = 0;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="outfile_8c_source.html#l00341">outfile_write()</a>, <a class="el" href="potfile_8c_source.html#l00201">potfile_write_append()</a>, and <a class="el" href="status_8c_source.html#l00691">status_get_input_candidates_dev()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a62591b9530b72d05ee1c66241e4f338a_icgraph.gif" border="0" usemap="#convert_8c_a62591b9530b72d05ee1c66241e4f338a_icgraph" alt=""/></div>
<map name="convert_8c_a62591b9530b72d05ee1c66241e4f338a_icgraph" id="convert_8c_a62591b9530b72d05ee1c66241e4f338a_icgraph">
<area shape="rect"  title=" " alt="" coords="3552,107,3643,133"/>
<area shape="rect"  href="outfile_8c.html#adaa59c594cc2e7c8c6ee05a6117c5313" title=" " alt="" coords="1793,56,1883,83"/>
<area shape="rect"  href="potfile_8c.html#a769fba1d52f71c0c9a1ba04a46429ac0" title=" " alt="" coords="3327,107,3466,133"/>
<area shape="rect"  href="status_8c.html#a923fe03c8487c12bd656a22d6dc3f0b7" title=" " alt="" coords="3289,212,3504,239"/>
<area shape="rect"  href="hashes_8c.html#a941bbcf804b81ac407d485859bf87999" title=" " alt="" coords="1554,107,1646,133"/>
<area shape="rect"  href="potfile_8c.html#ab54e1941ce1ee998c5b86e79d6e57bbc" title=" " alt="" coords="968,5,1107,32"/>
<area shape="rect"  href="potfile_8c.html#aa340141d20febc4004a75982ea4927b2" title=" " alt="" coords="795,81,920,108"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="1345,208,1455,235"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="1174,360,1265,387"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="1155,309,1284,336"/>
<area shape="rect"  href="dispatch_8c.html#a274118ca9e580459d6e82f6d61a34d59" title=" " alt="" coords="997,360,1078,387"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="1014,411,1061,437"/>
<area shape="rect"  href="dispatch_8c.html#a9e518ec031f388304424fb2852075038" title=" " alt="" coords="795,360,919,387"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="657,360,745,387"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="487,360,575,387"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,284,408,311"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,537,277,564"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,816,56,843"/>
<area shape="rect"  href="dispatch_8c.html#a45ffdf5a91d67bdc7a27b7fe7d39761a" title=" " alt="" coords="813,411,902,437"/>
<area shape="rect"  href="hashcat_8c.html#a325cba22ef98f99a706d99c65989a2c2" title=" " alt="" coords="3105,268,3241,295"/>
<area shape="rect"  href="main__shared_8c.html#ae96d7808ccfe95bbec7a55e2ada91935" title=" " alt="" coords="2937,217,2987,244"/>
<area shape="rect"  href="terminal_8c.html#ae3a80a3f67aa1810c8d9e49911f490a6" title=" " alt="" coords="2881,319,3043,361"/>
<area shape="rect"  href="terminal_8c.html#a64a36e504f5e3a0b633b17dcfcf8366f" title=" " alt="" coords="2701,328,2807,355"/>
<area shape="rect"  href="terminal_8c.html#ab059eb0bceb2ee24e8f86c04f4354d16" title=" " alt="" coords="2867,436,3057,463"/>
<area shape="rect"  href="terminal_8c.html#a30f3bb901b9e4c86fe78abb104c2f2fa" title=" " alt="" coords="2689,432,2819,459"/>
<area shape="rect"  href="main_8c.html#af6ada2a7aa24abc385db81bf2967d967" title=" " alt="" coords="2491,432,2641,459"/>
<area shape="rect"  href="main_8c.html#a4e664697b793b6744c9849c1de53a051" title=" " alt="" coords="2300,379,2443,421"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="2529,328,2603,355"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1992,445,2044,472"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="655,867,747,893"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="1740,563,1936,589"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="1559,461,1641,488"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="1775,208,1901,235"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="1516,360,1684,387"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="1517,715,1683,741"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="1517,309,1683,336"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="1757,259,1919,285"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="1732,664,1944,691"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="1752,461,1924,488"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="1772,512,1904,539"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="1347,563,1453,589"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="1548,512,1652,539"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="1543,563,1657,589"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="1332,613,1468,640"/>
<area shape="rect"  href="opencl_8c.html#a6b485c94e6a1ed68eb8a230b59947aba" title=" " alt="" coords="1347,512,1453,539"/>
<area shape="rect"  href="opencl_8c.html#ad74b845ad0c7ef8fb27e99d419a708a0" title=" " alt="" coords="1182,411,1257,437"/>
<area shape="rect"  href="autotune_8c.html#a58022d7cc5d8126f33e8635c5ae62c2b" title=" " alt="" coords="1183,639,1255,665"/>
<area shape="rect"  href="opencl_8c.html#a25858ed9c49bd2972bb375ec8190c2ba" title=" " alt="" coords="456,259,607,285"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="2312,328,2431,355"/>
<area shape="rect"  href="main_8c.html#aa9cb60ea1fd75f8faf5ce16454f526ec" title=" " alt="" coords="2092,332,2252,359"/>
</map>
</div>

</div>
</div>
<a id="a28c944485339fb30880c5061c32543e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28c944485339fb30880c5061c32543e6">&#9670;&nbsp;</a></span>hex_convert()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 hex_convert </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00138">138</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;{</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  <span class="keywordflow">return</span> (c &amp; 15) + (c &gt;&gt; 6) * 9;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l05464">agilekey_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06620">cloudkey_parse_hash()</a>, <a class="el" href="convert_8c_source.html#l00153">hex_to_u32()</a>, <a class="el" href="convert_8c_source.html#l00169">hex_to_u64()</a>, <a class="el" href="convert_8c_source.html#l00143">hex_to_u8()</a>, <a class="el" href="interface_8c_source.html#l06115">krb5pa_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11477">krb5tgs_parse_hash()</a>, <a class="el" href="mpsp_8c_source.html#l00217">mp_expand()</a>, <a class="el" href="mpsp_8c_source.html#l00320">mp_gen_css()</a>, <a class="el" href="interface_8c_source.html#l03293">netntlmv1_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03529">netntlmv2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08228">oldoffice01cm2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08502">oldoffice34cm2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02002">parse_and_store_salt()</a>, <a class="el" href="interface_8c_source.html#l09226">pdf11cm2_parse_hash()</a>, and <a class="el" href="interface_8c_source.html#l12232">zip2_parse_hash()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a28c944485339fb30880c5061c32543e6_icgraph.gif" border="0" usemap="#convert_8c_a28c944485339fb30880c5061c32543e6_icgraph" alt=""/></div>
<map name="convert_8c_a28c944485339fb30880c5061c32543e6_icgraph" id="convert_8c_a28c944485339fb30880c5061c32543e6_icgraph">
<area shape="rect"  title=" " alt="" coords="587,1805,677,1831"/>
<area shape="rect"  href="interface_8c.html#aae192089ba3daa8255a3f0df2485cc3a" title=" " alt="" coords="393,35,537,62"/>
<area shape="rect"  href="interface_8c.html#a9471879d4bcafa693324a2793c49d849" title=" " alt="" coords="179,57,327,83"/>
<area shape="rect"  href="convert_8c.html#a786a4744e25bb085ac3655ea7fa600d0" title=" " alt="" coords="421,1045,510,1071"/>
<area shape="rect"  href="interface_8c.html#a33a313b0f1a4759adae6773641050056" title=" " alt="" coords="177,158,328,185"/>
<area shape="rect"  href="interface_8c.html#a03e41d3a8ce25cb82719707dc5318dc4" title=" " alt="" coords="177,107,328,134"/>
<area shape="rect"  href="interface_8c.html#a8a76058998c07d365b5878a96337c3b9" title=" " alt="" coords="161,1830,344,1857"/>
<area shape="rect"  href="interface_8c.html#a882e2f71c512694888dccb184f0c4957" title=" " alt="" coords="161,1881,344,1907"/>
<area shape="rect"  href="interface_8c.html#a056116ae31ccb3e97b23fe27a94b5ba7" title=" " alt="" coords="177,1931,329,1958"/>
<area shape="rect"  href="interface_8c.html#ad6f8d1ed14110f1f3cd76b862766806d" title=" " alt="" coords="193,1982,313,2009"/>
<area shape="rect"  href="convert_8c.html#aeeffdd2e7ae5cb65a6c640bf5a39d2b8" title=" " alt="" coords="421,2083,510,2110"/>
<area shape="rect"  href="convert_8c.html#aaf6f45e36079c6d12221908914489311" title=" " alt="" coords="424,1729,507,1755"/>
<area shape="rect"  href="interface_8c.html#a14b277283d49e26e880bf9fd0000413a" title=" " alt="" coords="398,1982,533,2009"/>
<area shape="rect"  href="interface_8c.html#ae10c52ed15ae200dbf62bab4502adcf8" title=" " alt="" coords="396,2033,535,2059"/>
<area shape="rect"  href="mpsp_8c.html#af31e3f2c8e5fc1c8955c27a3d06e470d" title=" " alt="" coords="421,2134,510,2161"/>
<area shape="rect"  href="mpsp_8c.html#ab99db27312edcd754ec4bae96dcbc2f6" title=" " alt="" coords="417,2185,513,2211"/>
<area shape="rect"  href="interface_8c.html#a8c2e7aed0686be8070c2e2c763636049" title=" " alt="" coords="392,665,539,691"/>
<area shape="rect"  href="interface_8c.html#a748d227a9485eb76daa5f1e70ea9badc" title=" " alt="" coords="5,1045,113,1071"/>
<area shape="rect"  href="interface_8c.html#a1c64fc2710cf806a83d2da6c9d477696" title=" " alt="" coords="197,1475,308,1502"/>
<area shape="rect"  href="interface_8c.html#a2c5fe5805daf5848d9c457ae77dfee12" title=" " alt="" coords="181,1121,324,1147"/>
<area shape="rect"  href="interface_8c.html#af94497bf43e07d123d6d8dc68e386887" title=" " alt="" coords="191,209,315,235"/>
<area shape="rect"  href="interface_8c.html#a80146ba5fa57c66575e6b3b7efe8ee4e" title=" " alt="" coords="194,259,311,286"/>
<area shape="rect"  href="interface_8c.html#a19aadf1b14c2f9b7a383df54e1dde8a3" title=" " alt="" coords="194,310,311,337"/>
<area shape="rect"  href="interface_8c.html#a9115211e9e3263b041178a3d5e25d308" title=" " alt="" coords="191,361,315,387"/>
<area shape="rect"  href="interface_8c.html#a7fbf14553767f4b4458acf6783a76b64" title=" " alt="" coords="192,1526,313,1553"/>
<area shape="rect"  href="interface_8c.html#a5ab5e81dc71bf3526c55468a8b35c9e7" title=" " alt="" coords="192,1577,313,1603"/>
<area shape="rect"  href="interface_8c.html#a4fd53dd2c98acb18ba2bc136b3349c0e" title=" " alt="" coords="182,1627,323,1654"/>
<area shape="rect"  href="interface_8c.html#a29ecd7d869df0d27d00162bbe203b815" title=" " alt="" coords="189,411,317,438"/>
<area shape="rect"  href="interface_8c.html#a71e61b05b04a6cbfa9efdf5e96c0df62" title=" " alt="" coords="185,462,320,489"/>
<area shape="rect"  href="interface_8c.html#a23ab2b5a1284d8dd7fbfbae55a92c441" title=" " alt="" coords="175,513,331,539"/>
<area shape="rect"  href="interface_8c.html#a88f1b7b9fa68bdfc5ac6b04394bad151" title=" " alt="" coords="179,563,326,590"/>
<area shape="rect"  href="interface_8c.html#ac2bc71c1df22109a4b08cf02114e0f15" title=" " alt="" coords="195,614,310,641"/>
<area shape="rect"  href="interface_8c.html#a96745e9a2c107a853c3c609019dd011b" title=" " alt="" coords="191,665,314,691"/>
<area shape="rect"  href="interface_8c.html#aada45e99374548a9093bebfffd95ecc5" title=" " alt="" coords="194,715,311,742"/>
<area shape="rect"  href="interface_8c.html#a7968f702e55592a82204d3bda388eba3" title=" " alt="" coords="193,766,313,793"/>
<area shape="rect"  href="interface_8c.html#a887c9ee6f4988e210f20af4ab47d1664" title=" " alt="" coords="191,1171,315,1198"/>
<area shape="rect"  href="interface_8c.html#a9bd5a5027ba9b2c962de25f2c839e6b2" title=" " alt="" coords="169,1222,336,1249"/>
<area shape="rect"  href="interface_8c.html#ad3534b8542dda3eb6421b2c5fbd9a916" title=" " alt="" coords="187,817,318,843"/>
<area shape="rect"  href="interface_8c.html#a1f5e77c01a4f4b050f6fa2fb88c5f646" title=" " alt="" coords="181,1678,324,1705"/>
<area shape="rect"  href="interface_8c.html#a320bd3334b3dede48046b34a0b732863" title=" " alt="" coords="173,867,332,894"/>
<area shape="rect"  href="interface_8c.html#af243bec5d4c400644bc7585c587265bd" title=" " alt="" coords="173,918,332,945"/>
<area shape="rect"  href="interface_8c.html#aea981aa55f62d0e4734a020b87e273fb" title=" " alt="" coords="183,969,322,995"/>
<area shape="rect"  href="interface_8c.html#a565aca487e89217bc7862cda478fc825" title=" " alt="" coords="183,1019,322,1046"/>
<area shape="rect"  href="interface_8c.html#a32bbb64a7ebb5f67cf94b2253102212a" title=" " alt="" coords="185,1273,320,1299"/>
<area shape="rect"  href="interface_8c.html#a4ea65ec884b36d0c450d7bbbfe11c54c" title=" " alt="" coords="183,1323,322,1350"/>
<area shape="rect"  href="interface_8c.html#afeb9ae84ede112262475ead0b88a8158" title=" " alt="" coords="180,1070,325,1097"/>
<area shape="rect"  href="interface_8c.html#a52dbd7555ff7e295b55e17d47fc9296d" title=" " alt="" coords="169,1729,336,1755"/>
<area shape="rect"  href="interface_8c.html#aacd547547b44627609ad93c4e4d3dae8" title=" " alt="" coords="168,1779,337,1806"/>
<area shape="rect"  href="interface_8c.html#aecc790b983c8fad98771d8175af8cf5d" title=" " alt="" coords="175,1374,331,1401"/>
<area shape="rect"  href="interface_8c.html#a2a46f55688d49e1e022875e80bb81fe4" title=" " alt="" coords="179,1425,326,1451"/>
</map>
</div>

</div>
</div>
<a id="a786a4744e25bb085ac3655ea7fa600d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a786a4744e25bb085ac3655ea7fa600d0">&#9670;&nbsp;</a></span>hex_to_u32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 hex_to_u32 </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>hex</em>[8]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00153">153</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;{</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;  u32 v = 0;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;  v |= ((u32) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[7])) &lt;&lt;  0;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;  v |= ((u32) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[6])) &lt;&lt;  4;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;  v |= ((u32) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[5])) &lt;&lt;  8;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;  v |= ((u32) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[4])) &lt;&lt; 12;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;  v |= ((u32) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[3])) &lt;&lt; 16;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;  v |= ((u32) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[2])) &lt;&lt; 20;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;  v |= ((u32) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[1])) &lt;&lt; 24;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;  v |= ((u32) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[0])) &lt;&lt; 28;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;  <span class="keywordflow">return</span> (v);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;}</div><div class="ttc" id="convert_8c_html_a28c944485339fb30880c5061c32543e6"><div class="ttname"><a href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a></div><div class="ttdeci">u8 hex_convert(const u8 c)</div><div class="ttdef"><b>Definition:</b> <a href="convert_8c_source.html#l00138">convert.c:138</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="convert_8c_source.html#l00138">hex_convert()</a>.</p>

<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l07369">androidfde_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l12177">androidfde_samsung_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l05011">androidpin_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02229">arubaos_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11576">axcrypt_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l10168">bitcoin_wallet_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11953">cf10_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06570">chap_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06620">cloudkey_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08844">crammd5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l10659">crc32_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02549">dcc2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03930">dcc_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06997">des_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08664">djangosha1_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11191">ecryptfs_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l10861">gost2012sbog_256_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l10888">gost2012sbog_512_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l05628">gost_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l05953">hmacmd5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l05995">hmacsha1_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06033">hmacsha256_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07153">hmailserver_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04790">ikepsk_md5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04879">ikepsk_sha1_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03977">ipb2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03707">joomla_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11651">keepass_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l05578">lastpass_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02207">lm_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07049">lotus5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03065">md4_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03089">md5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03113">md5half_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03801">md5md5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03130">md5s_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07240">mediawiki_b_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l12103">ms_drsr_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04290">mssql2000_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04329">mssql2005_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06451">mysql323_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l10119">mysql_auth_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l12032">mywallet_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03293">netntlmv1_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03529">netntlmv2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06534">netscaler_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07714">office2007_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07842">office2010_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07971">office2013_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08100">oldoffice01_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08228">oldoffice01cm2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08375">oldoffice34_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08502">oldoffice34cm2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06879">opencart_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04413">oracleh_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04453">oracles_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04490">oraclet_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02342">osc_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02266">osx1_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l09017">pdf11_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l09226">pdf11cm2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l09461">pdf14_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l09753">pdf17l8_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07194">phps_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l10046">postgresql_auth_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03754">postgresql_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l10011">prestashop_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04129">pstoken_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06910">racf_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08645">radmin2_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06465">rakp_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11298">rar3hp_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l11365">rar5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08986">redmine_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04964">ripemd160_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06221">sapb_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06291">sapg_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l10695">seven_zip_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04045">sha1_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04066">sha1axcrypt_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l12550">sha1cx_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04085">sha1s_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04530">sha256_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04557">sha256s_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l05710">sha512osx_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l10315">sip_auth_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l08800">siphash_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07321">skype_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02505">smf_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06415">sybasease_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03888">vb30_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03841">vb3_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06848">wbb3_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04985">whirlpool_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l12460">win8phone_parse_hash()</a>, and <a class="el" href="interface_8c_source.html#l12232">zip2_parse_hash()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a786a4744e25bb085ac3655ea7fa600d0_cgraph.gif" border="0" usemap="#convert_8c_a786a4744e25bb085ac3655ea7fa600d0_cgraph" alt=""/></div>
<map name="convert_8c_a786a4744e25bb085ac3655ea7fa600d0_cgraph" id="convert_8c_a786a4744e25bb085ac3655ea7fa600d0_cgraph">
<area shape="rect"  title=" " alt="" coords="5,5,95,32"/>
<area shape="rect"  href="convert_8c.html#a28c944485339fb30880c5061c32543e6" title=" " alt="" coords="143,5,233,32"/>
</map>
</div>

</div>
</div>
<a id="aeeffdd2e7ae5cb65a6c640bf5a39d2b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeeffdd2e7ae5cb65a6c640bf5a39d2b8">&#9670;&nbsp;</a></span>hex_to_u64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u64 hex_to_u64 </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>hex</em>[16]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00169">169</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;{</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;  u64 v = 0;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[15]) &lt;&lt;  0);</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[14]) &lt;&lt;  4);</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[13]) &lt;&lt;  8);</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[12]) &lt;&lt; 12);</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[11]) &lt;&lt; 16);</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[10]) &lt;&lt; 20);</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[ 9]) &lt;&lt; 24);</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[ 8]) &lt;&lt; 28);</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[ 7]) &lt;&lt; 32);</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[ 6]) &lt;&lt; 36);</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[ 5]) &lt;&lt; 40);</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[ 4]) &lt;&lt; 44);</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[ 3]) &lt;&lt; 48);</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[ 2]) &lt;&lt; 52);</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[ 1]) &lt;&lt; 56);</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;  v |= ((u64) <a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[ 0]) &lt;&lt; 60);</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;  <span class="keywordflow">return</span> (v);</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;}</div><div class="ttc" id="convert_8c_html_a28c944485339fb30880c5061c32543e6"><div class="ttname"><a href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a></div><div class="ttdeci">u8 hex_convert(const u8 c)</div><div class="ttdef"><b>Definition:</b> <a href="convert_8c_source.html#l00138">convert.c:138</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="convert_8c_source.html#l00138">hex_convert()</a>.</p>

<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l06074">hmacsha512_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04766">keccak_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04368">mssql2012_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l02301">osx512_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04607">sha384_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04634">sha512_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l05837">sha512grub_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l05710">sha512osx_parse_hash()</a>, and <a class="el" href="interface_8c_source.html#l04661">sha512s_parse_hash()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_aeeffdd2e7ae5cb65a6c640bf5a39d2b8_cgraph.gif" border="0" usemap="#convert_8c_aeeffdd2e7ae5cb65a6c640bf5a39d2b8_cgraph" alt=""/></div>
<map name="convert_8c_aeeffdd2e7ae5cb65a6c640bf5a39d2b8_cgraph" id="convert_8c_aeeffdd2e7ae5cb65a6c640bf5a39d2b8_cgraph">
<area shape="rect"  title=" " alt="" coords="5,5,95,32"/>
<area shape="rect"  href="convert_8c.html#a28c944485339fb30880c5061c32543e6" title=" " alt="" coords="143,5,233,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_aeeffdd2e7ae5cb65a6c640bf5a39d2b8_icgraph.gif" border="0" usemap="#convert_8c_aeeffdd2e7ae5cb65a6c640bf5a39d2b8_icgraph" alt=""/></div>
<map name="convert_8c_aeeffdd2e7ae5cb65a6c640bf5a39d2b8_icgraph" id="convert_8c_aeeffdd2e7ae5cb65a6c640bf5a39d2b8_icgraph">
<area shape="rect"  title=" " alt="" coords="831,208,920,235"/>
<area shape="rect"  href="interface_8c.html#a9250f009a72026473b76b26f29945462" title=" " alt="" coords="612,5,783,32"/>
<area shape="rect"  href="interface_8c.html#a326cb984a14fd63002889396f4bf6962" title=" " alt="" coords="628,56,767,83"/>
<area shape="rect"  href="interface_8c.html#a70855f6ef6b7d6ff60a73137cfa03884" title=" " alt="" coords="618,107,777,133"/>
<area shape="rect"  href="interface_8c.html#a9a43ebf4abd99f502a4d3d3c6db9293d" title=" " alt="" coords="628,157,767,184"/>
<area shape="rect"  href="interface_8c.html#a0553d61a8d32ecfef6e906dfce805783" title=" " alt="" coords="628,208,767,235"/>
<area shape="rect"  href="interface_8c.html#a5b901536caf274ff253255a99b528f68" title=" " alt="" coords="628,259,767,285"/>
<area shape="rect"  href="interface_8c.html#ad5ad2b76e88ecbefd094bbb774551ca1" title=" " alt="" coords="616,309,779,336"/>
<area shape="rect"  href="interface_8c.html#af77571ab512753497323ef0e6fbc4d65" title=" " alt="" coords="618,360,777,387"/>
<area shape="rect"  href="interface_8c.html#a85cfbd620e4b8b50567e8041ad9d9ee8" title=" " alt="" coords="625,411,770,437"/>
<area shape="rect"  href="interface_8c.html#a748d227a9485eb76daa5f1e70ea9badc" title=" " alt="" coords="456,208,564,235"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,208,408,235"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,208,277,235"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,208,56,235"/>
</map>
</div>

</div>
</div>
<a id="aaf6f45e36079c6d12221908914489311"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf6f45e36079c6d12221908914489311">&#9670;&nbsp;</a></span>hex_to_u8()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 hex_to_u8 </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>hex</em>[2]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00143">143</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;{</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  u8 v = 0;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  v |= (<a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[1]) &lt;&lt;  0);</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;  v |= (<a class="code" href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a> (hex[0]) &lt;&lt;  4);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  <span class="keywordflow">return</span> (v);</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;}</div><div class="ttc" id="convert_8c_html_a28c944485339fb30880c5061c32543e6"><div class="ttname"><a href="convert_8c.html#a28c944485339fb30880c5061c32543e6">hex_convert</a></div><div class="ttdeci">u8 hex_convert(const u8 c)</div><div class="ttdef"><b>Definition:</b> <a href="convert_8c_source.html#l00138">convert.c:138</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="convert_8c_source.html#l00138">hex_convert()</a>.</p>

<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l06570">chap_parse_hash()</a>, <a class="el" href="wordlist_8c_source.html#l00017">convert_from_hex()</a>, <a class="el" href="interface_8c_source.html#l04790">ikepsk_md5_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l04879">ikepsk_sha1_parse_hash()</a>, <a class="el" href="outfile__check_8c_source.html#l00019">outfile_remove()</a>, <a class="el" href="interface_8c_source.html#l10046">postgresql_auth_parse_hash()</a>, <a class="el" href="potfile_8c_source.html#l00263">potfile_remove_parse()</a>, <a class="el" href="interface_8c_source.html#l04129">pstoken_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l06465">rakp_parse_hash()</a>, and <a class="el" href="interface_8c_source.html#l05837">sha512grub_parse_hash()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_aaf6f45e36079c6d12221908914489311_cgraph.gif" border="0" usemap="#convert_8c_aaf6f45e36079c6d12221908914489311_cgraph" alt=""/></div>
<map name="convert_8c_aaf6f45e36079c6d12221908914489311_cgraph" id="convert_8c_aaf6f45e36079c6d12221908914489311_cgraph">
<area shape="rect"  title=" " alt="" coords="5,5,88,32"/>
<area shape="rect"  href="convert_8c.html#a28c944485339fb30880c5061c32543e6" title=" " alt="" coords="136,5,227,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_aaf6f45e36079c6d12221908914489311_icgraph.gif" border="0" usemap="#convert_8c_aaf6f45e36079c6d12221908914489311_icgraph" alt=""/></div>
<map name="convert_8c_aaf6f45e36079c6d12221908914489311_icgraph" id="convert_8c_aaf6f45e36079c6d12221908914489311_icgraph">
<area shape="rect"  title=" " alt="" coords="1535,233,1617,260"/>
<area shape="rect"  href="interface_8c.html#ad4212075327f38a5be20d09fdb9f73dd" title=" " alt="" coords="1331,5,1455,32"/>
<area shape="rect"  href="wordlist_8c.html#abc2b9b6206f47a89f1edea14e81ad206" title=" " alt="" coords="1331,360,1454,387"/>
<area shape="rect"  href="interface_8c.html#a52dbd7555ff7e295b55e17d47fc9296d" title=" " alt="" coords="1309,56,1476,83"/>
<area shape="rect"  href="interface_8c.html#aacd547547b44627609ad93c4e4d3dae8" title=" " alt="" coords="1308,107,1477,133"/>
<area shape="rect"  href="outfile__check_8c.html#a39b7fbaa8d12928613fcd7399eb49ad2" title=" " alt="" coords="1145,411,1249,437"/>
<area shape="rect"  href="interface_8c.html#a8d1398cd2aff33fea4cf35dcb8fde8f8" title=" " alt="" coords="1299,157,1487,184"/>
<area shape="rect"  href="potfile_8c.html#ab34391a2f48c7208b15946dd8759eeea" title=" " alt="" coords="456,461,599,488"/>
<area shape="rect"  href="interface_8c.html#a1f5e77c01a4f4b050f6fa2fb88c5f646" title=" " alt="" coords="1321,208,1464,235"/>
<area shape="rect"  href="interface_8c.html#a34b2133d9a1f9cc4a282e85318cc6842" title=" " alt="" coords="1332,259,1453,285"/>
<area shape="rect"  href="interface_8c.html#ad5ad2b76e88ecbefd094bbb774551ca1" title=" " alt="" coords="1311,309,1474,336"/>
<area shape="rect"  href="interface_8c.html#a748d227a9485eb76daa5f1e70ea9badc" title=" " alt="" coords="1143,183,1251,209"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,385,408,412"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,385,277,412"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,385,56,412"/>
<area shape="rect"  href="dispatch_8c.html#a274118ca9e580459d6e82f6d61a34d59" title=" " alt="" coords="1013,309,1095,336"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="1031,360,1077,387"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="1151,309,1242,336"/>
<area shape="rect"  href="dispatch_8c.html#a9e518ec031f388304424fb2852075038" title=" " alt="" coords="841,309,965,336"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="676,360,764,387"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="483,360,571,387"/>
<area shape="rect"  href="dispatch_8c.html#a45ffdf5a91d67bdc7a27b7fe7d39761a" title=" " alt="" coords="859,360,948,387"/>
<area shape="rect"  href="outfile__check_8c.html#aa0e20db36255679b69e7423e65995f99" title=" " alt="" coords="647,411,793,437"/>
</map>
</div>

</div>
</div>
<a id="ac3eed39f2f559d25573836e67742833c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3eed39f2f559d25573836e67742833c">&#9670;&nbsp;</a></span>int_to_base32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 int_to_base32 </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00216">216</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;{</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;  <span class="keyword">const</span> u8 tbl[0x20] =</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;  {</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50,</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;  };</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;  <span class="keywordflow">return</span> tbl[c];</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="aaab6799788a4363c4ac5029d6dff8b02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaab6799788a4363c4ac5029d6dff8b02">&#9670;&nbsp;</a></span>int_to_base64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 int_to_base64 </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00292">292</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;{</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;  <span class="keyword">const</span> u8 tbl[0x40] =</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;  {</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50,</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;    0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66,</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76,</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;    0x77, 0x78, 0x79, 0x7a, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x2b, 0x2f,</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;  };</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;  <span class="keywordflow">return</span> tbl[c];</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l12924">ascii_digest()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_aaab6799788a4363c4ac5029d6dff8b02_icgraph.gif" border="0" usemap="#convert_8c_aaab6799788a4363c4ac5029d6dff8b02_icgraph" alt=""/></div>
<map name="convert_8c_aaab6799788a4363c4ac5029d6dff8b02_icgraph" id="convert_8c_aaab6799788a4363c4ac5029d6dff8b02_icgraph">
<area shape="rect"  title=" " alt="" coords="3568,107,3671,133"/>
<area shape="rect"  href="interface_8c.html#a1786621d215322ac6bc1c9f60efa4c8b" title=" " alt="" coords="3429,107,3520,133"/>
<area shape="rect"  href="hashes_8c.html#a5c95202be7d166a6346b342145ed9b1c" title=" " alt="" coords="3261,5,3343,32"/>
<area shape="rect"  href="hashes_8c.html#a941bbcf804b81ac407d485859bf87999" title=" " alt="" coords="1909,157,2001,184"/>
<area shape="rect"  href="potfile_8c.html#ab54e1941ce1ee998c5b86e79d6e57bbc" title=" " alt="" coords="629,56,768,83"/>
<area shape="rect"  href="potfile_8c.html#aa340141d20febc4004a75982ea4927b2" title=" " alt="" coords="456,107,581,133"/>
<area shape="rect"  href="status_8c.html#a1143c80f218b32f866e0cc80ae036bc3" title=" " alt="" coords="3223,321,3381,348"/>
<area shape="rect"  href="monitor_8c.html#a6070c1efbb12309f3d3504ccd1f6ca3d" title=" " alt="" coords="3074,5,3139,32"/>
<area shape="rect"  href="monitor_8c.html#ab9ac4a7731cf2a12f37be8fcdaa38a43" title=" " alt="" coords="2263,5,2371,32"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,132,408,159"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,157,277,184"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,208,56,235"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="1463,360,1573,387"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="1118,661,1209,688"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="1257,411,1387,437"/>
<area shape="rect"  href="dispatch_8c.html#a274118ca9e580459d6e82f6d61a34d59" title=" " alt="" coords="988,687,1069,713"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="1005,636,1052,663"/>
<area shape="rect"  href="dispatch_8c.html#a9e518ec031f388304424fb2852075038" title=" " alt="" coords="816,687,940,713"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="655,661,743,688"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="475,259,563,285"/>
<area shape="rect"  href="dispatch_8c.html#a45ffdf5a91d67bdc7a27b7fe7d39761a" title=" " alt="" coords="833,636,923,663"/>
<area shape="rect"  href="hashcat_8c.html#a325cba22ef98f99a706d99c65989a2c2" title=" " alt="" coords="3039,436,3175,463"/>
<area shape="rect"  href="main__shared_8c.html#ae96d7808ccfe95bbec7a55e2ada91935" title=" " alt="" coords="2870,385,2921,412"/>
<area shape="rect"  href="terminal_8c.html#ae3a80a3f67aa1810c8d9e49911f490a6" title=" " alt="" coords="2814,538,2977,579"/>
<area shape="rect"  href="terminal_8c.html#a64a36e504f5e3a0b633b17dcfcf8366f" title=" " alt="" coords="2634,487,2741,513"/>
<area shape="rect"  href="terminal_8c.html#ab059eb0bceb2ee24e8f86c04f4354d16" title=" " alt="" coords="2800,436,2991,463"/>
<area shape="rect"  href="terminal_8c.html#a30f3bb901b9e4c86fe78abb104c2f2fa" title=" " alt="" coords="2623,436,2752,463"/>
<area shape="rect"  href="main_8c.html#af6ada2a7aa24abc385db81bf2967d967" title=" " alt="" coords="2424,436,2575,463"/>
<area shape="rect"  href="main_8c.html#a4e664697b793b6744c9849c1de53a051" title=" " alt="" coords="2058,538,2201,579"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="2462,487,2537,513"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1929,487,1981,513"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="1117,263,1209,289"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="1657,664,1853,691"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="1477,461,1559,488"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="1692,309,1819,336"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="1671,613,1839,640"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="1435,816,1601,843"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="1672,411,1839,437"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="1674,360,1837,387"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="1649,715,1861,741"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="1669,512,1841,539"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="1689,563,1821,589"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="1269,857,1375,884"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="1466,664,1570,691"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="1461,715,1575,741"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="1450,765,1586,792"/>
<area shape="rect"  href="opencl_8c.html#a6b485c94e6a1ed68eb8a230b59947aba" title=" " alt="" coords="1269,661,1375,688"/>
<area shape="rect"  href="autotune_8c.html#a58022d7cc5d8126f33e8635c5ae62c2b" title=" " alt="" coords="1286,719,1358,745"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="2257,487,2376,513"/>
<area shape="rect"  href="main_8c.html#aa9cb60ea1fd75f8faf5ce16454f526ec" title=" " alt="" coords="2049,487,2209,513"/>
</map>
</div>

</div>
</div>
<a id="ab30270523d7ede370c0111cf347eda7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab30270523d7ede370c0111cf347eda7f">&#9670;&nbsp;</a></span>int_to_bf64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 int_to_bf64 </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00330">330</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;{</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;  <span class="keyword">const</span> u8 tbl[0x40] =</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;  {</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    0x2e, 0x2f, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e,</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    0x4f, 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x61, 0x62, 0x63, 0x64,</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    0x65, 0x66, 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74,</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    0x75, 0x76, 0x77, 0x78, 0x79, 0x7a, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;  };</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;  <span class="keywordflow">return</span> tbl[c];</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="a3deddbc210138a04b4094ba9df1e03ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3deddbc210138a04b4094ba9df1e03ce">&#9670;&nbsp;</a></span>int_to_itoa32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 int_to_itoa32 </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00235">235</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;{</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;  <span class="keyword">const</span> u8 tbl[0x20] =</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;  {</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66,</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76,</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;  };</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;  <span class="keywordflow">return</span> tbl[c];</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l12924">ascii_digest()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a3deddbc210138a04b4094ba9df1e03ce_icgraph.gif" border="0" usemap="#convert_8c_a3deddbc210138a04b4094ba9df1e03ce_icgraph" alt=""/></div>
<map name="convert_8c_a3deddbc210138a04b4094ba9df1e03ce_icgraph" id="convert_8c_a3deddbc210138a04b4094ba9df1e03ce_icgraph">
<area shape="rect"  title=" " alt="" coords="3568,107,3664,133"/>
<area shape="rect"  href="interface_8c.html#a1786621d215322ac6bc1c9f60efa4c8b" title=" " alt="" coords="3429,107,3520,133"/>
<area shape="rect"  href="hashes_8c.html#a5c95202be7d166a6346b342145ed9b1c" title=" " alt="" coords="3261,5,3343,32"/>
<area shape="rect"  href="hashes_8c.html#a941bbcf804b81ac407d485859bf87999" title=" " alt="" coords="1909,157,2001,184"/>
<area shape="rect"  href="potfile_8c.html#ab54e1941ce1ee998c5b86e79d6e57bbc" title=" " alt="" coords="629,56,768,83"/>
<area shape="rect"  href="potfile_8c.html#aa340141d20febc4004a75982ea4927b2" title=" " alt="" coords="456,107,581,133"/>
<area shape="rect"  href="status_8c.html#a1143c80f218b32f866e0cc80ae036bc3" title=" " alt="" coords="3223,321,3381,348"/>
<area shape="rect"  href="monitor_8c.html#a6070c1efbb12309f3d3504ccd1f6ca3d" title=" " alt="" coords="3074,5,3139,32"/>
<area shape="rect"  href="monitor_8c.html#ab9ac4a7731cf2a12f37be8fcdaa38a43" title=" " alt="" coords="2263,5,2371,32"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,132,408,159"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,157,277,184"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,208,56,235"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="1463,360,1573,387"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="1118,661,1209,688"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="1257,411,1387,437"/>
<area shape="rect"  href="dispatch_8c.html#a274118ca9e580459d6e82f6d61a34d59" title=" " alt="" coords="988,687,1069,713"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="1005,636,1052,663"/>
<area shape="rect"  href="dispatch_8c.html#a9e518ec031f388304424fb2852075038" title=" " alt="" coords="816,687,940,713"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="655,661,743,688"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="475,259,563,285"/>
<area shape="rect"  href="dispatch_8c.html#a45ffdf5a91d67bdc7a27b7fe7d39761a" title=" " alt="" coords="833,636,923,663"/>
<area shape="rect"  href="hashcat_8c.html#a325cba22ef98f99a706d99c65989a2c2" title=" " alt="" coords="3039,436,3175,463"/>
<area shape="rect"  href="main__shared_8c.html#ae96d7808ccfe95bbec7a55e2ada91935" title=" " alt="" coords="2870,385,2921,412"/>
<area shape="rect"  href="terminal_8c.html#ae3a80a3f67aa1810c8d9e49911f490a6" title=" " alt="" coords="2814,538,2977,579"/>
<area shape="rect"  href="terminal_8c.html#a64a36e504f5e3a0b633b17dcfcf8366f" title=" " alt="" coords="2634,487,2741,513"/>
<area shape="rect"  href="terminal_8c.html#ab059eb0bceb2ee24e8f86c04f4354d16" title=" " alt="" coords="2800,436,2991,463"/>
<area shape="rect"  href="terminal_8c.html#a30f3bb901b9e4c86fe78abb104c2f2fa" title=" " alt="" coords="2623,436,2752,463"/>
<area shape="rect"  href="main_8c.html#af6ada2a7aa24abc385db81bf2967d967" title=" " alt="" coords="2424,436,2575,463"/>
<area shape="rect"  href="main_8c.html#a4e664697b793b6744c9849c1de53a051" title=" " alt="" coords="2058,538,2201,579"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="2462,487,2537,513"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1929,487,1981,513"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="1117,263,1209,289"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="1657,664,1853,691"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="1477,461,1559,488"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="1692,309,1819,336"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="1671,613,1839,640"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="1435,816,1601,843"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="1672,411,1839,437"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="1674,360,1837,387"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="1649,715,1861,741"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="1669,512,1841,539"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="1689,563,1821,589"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="1269,857,1375,884"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="1466,664,1570,691"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="1461,715,1575,741"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="1450,765,1586,792"/>
<area shape="rect"  href="opencl_8c.html#a6b485c94e6a1ed68eb8a230b59947aba" title=" " alt="" coords="1269,661,1375,688"/>
<area shape="rect"  href="autotune_8c.html#a58022d7cc5d8126f33e8635c5ae62c2b" title=" " alt="" coords="1286,719,1358,745"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="2257,487,2376,513"/>
<area shape="rect"  href="main_8c.html#aa9cb60ea1fd75f8faf5ce16454f526ec" title=" " alt="" coords="2049,487,2209,513"/>
</map>
</div>

</div>
</div>
<a id="ae384a18a644a9b3c56befb6155b220d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae384a18a644a9b3c56befb6155b220d4">&#9670;&nbsp;</a></span>int_to_itoa64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 int_to_itoa64 </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00254">254</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;{</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;  <span class="keyword">const</span> u8 tbl[0x40] =</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;  {</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44,</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, 0x53, 0x54,</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a,</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7a,</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;  };</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;  <span class="keywordflow">return</span> tbl[c];</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l12924">ascii_digest()</a>, <a class="el" href="interface_8c_source.html#l01916">drupal7_encode()</a>, <a class="el" href="interface_8c_source.html#l00537">md5crypt_encode()</a>, <a class="el" href="interface_8c_source.html#l00437">phpass_encode()</a>, <a class="el" href="interface_8c_source.html#l01004">sha1aix_encode()</a>, <a class="el" href="interface_8c_source.html#l01160">sha256aix_encode()</a>, <a class="el" href="interface_8c_source.html#l01699">sha256crypt_encode()</a>, <a class="el" href="interface_8c_source.html#l01440">sha512aix_encode()</a>, and <a class="el" href="interface_8c_source.html#l00781">sha512crypt_encode()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_ae384a18a644a9b3c56befb6155b220d4_icgraph.gif" border="0" usemap="#convert_8c_ae384a18a644a9b3c56befb6155b220d4_icgraph" alt=""/></div>
<map name="convert_8c_ae384a18a644a9b3c56befb6155b220d4_icgraph" id="convert_8c_ae384a18a644a9b3c56befb6155b220d4_icgraph">
<area shape="rect"  title=" " alt="" coords="3237,651,3333,677"/>
<area shape="rect"  href="interface_8c.html#a1786621d215322ac6bc1c9f60efa4c8b" title=" " alt="" coords="2908,651,2999,677"/>
<area shape="rect"  href="interface_8c.html#a6470112cf7fdf6a63c6b3fbb7b3f2657" title=" " alt="" coords="3061,499,3175,525"/>
<area shape="rect"  href="interface_8c.html#ae9da634b1881363dffa9efd9bc952b9b" title=" " alt="" coords="3055,549,3181,576"/>
<area shape="rect"  href="interface_8c.html#a9dc48e4def0bf4ee5c83e9c4782d2282" title=" " alt="" coords="3061,600,3175,627"/>
<area shape="rect"  href="interface_8c.html#a964b14ba6e50c8123173714fb7836d9d" title=" " alt="" coords="3060,651,3176,677"/>
<area shape="rect"  href="interface_8c.html#a888e9d2a0196d2cd5bcd8d50733a2507" title=" " alt="" coords="3053,701,3183,728"/>
<area shape="rect"  href="interface_8c.html#a3a6a151bf28c21e717f97c3f027cf5da" title=" " alt="" coords="3047,752,3189,779"/>
<area shape="rect"  href="interface_8c.html#aa6f2a34cdc092b8ee213bbe06dc26afa" title=" " alt="" coords="3053,803,3183,829"/>
<area shape="rect"  href="interface_8c.html#a5dafa4339ccb0e80423222582fa40fd2" title=" " alt="" coords="3047,853,3189,880"/>
<area shape="rect"  href="hashes_8c.html#a5c95202be7d166a6346b342145ed9b1c" title=" " alt="" coords="2739,701,2822,728"/>
<area shape="rect"  href="hashes_8c.html#a941bbcf804b81ac407d485859bf87999" title=" " alt="" coords="2539,600,2631,627"/>
<area shape="rect"  href="potfile_8c.html#ab54e1941ce1ee998c5b86e79d6e57bbc" title=" " alt="" coords="1075,752,1213,779"/>
<area shape="rect"  href="potfile_8c.html#aa340141d20febc4004a75982ea4927b2" title=" " alt="" coords="2103,651,2229,677"/>
<area shape="rect"  href="status_8c.html#a1143c80f218b32f866e0cc80ae036bc3" title=" " alt="" coords="2701,393,2860,420"/>
<area shape="rect"  href="monitor_8c.html#a6070c1efbb12309f3d3504ccd1f6ca3d" title=" " alt="" coords="2553,701,2618,728"/>
<area shape="rect"  href="monitor_8c.html#ab9ac4a7731cf2a12f37be8fcdaa38a43" title=" " alt="" coords="1291,701,1399,728"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,615,408,641"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,361,277,388"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,93,56,120"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="1289,499,1400,525"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="1099,448,1189,475"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="456,580,585,607"/>
<area shape="rect"  href="dispatch_8c.html#a274118ca9e580459d6e82f6d61a34d59" title=" " alt="" coords="945,473,1027,500"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="963,423,1009,449"/>
<area shape="rect"  href="dispatch_8c.html#a9e518ec031f388304424fb2852075038" title=" " alt="" coords="773,473,897,500"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="635,448,723,475"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="477,501,565,528"/>
<area shape="rect"  href="dispatch_8c.html#a45ffdf5a91d67bdc7a27b7fe7d39761a" title=" " alt="" coords="791,423,880,449"/>
<area shape="rect"  href="hashcat_8c.html#a325cba22ef98f99a706d99c65989a2c2" title=" " alt="" coords="2517,271,2653,297"/>
<area shape="rect"  href="main__shared_8c.html#ae96d7808ccfe95bbec7a55e2ada91935" title=" " alt="" coords="2349,169,2399,196"/>
<area shape="rect"  href="terminal_8c.html#ae3a80a3f67aa1810c8d9e49911f490a6" title=" " alt="" coords="2293,373,2455,414"/>
<area shape="rect"  href="terminal_8c.html#a64a36e504f5e3a0b633b17dcfcf8366f" title=" " alt="" coords="2113,325,2219,352"/>
<area shape="rect"  href="terminal_8c.html#ab059eb0bceb2ee24e8f86c04f4354d16" title=" " alt="" coords="2279,271,2469,297"/>
<area shape="rect"  href="terminal_8c.html#a30f3bb901b9e4c86fe78abb104c2f2fa" title=" " alt="" coords="2101,267,2231,293"/>
<area shape="rect"  href="main_8c.html#af6ada2a7aa24abc385db81bf2967d967" title=" " alt="" coords="1903,267,2053,293"/>
<area shape="rect"  href="main_8c.html#a4e664697b793b6744c9849c1de53a051" title=" " alt="" coords="1907,318,2049,359"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="1941,384,2015,411"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1769,296,1821,323"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="633,93,725,120"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="1484,347,1680,373"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="1519,397,1645,424"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="1498,448,1666,475"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="1261,296,1428,323"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="1499,499,1665,525"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="1501,549,1663,576"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="1476,144,1688,171"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="1496,245,1668,272"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="1516,296,1648,323"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="1736,384,1855,411"/>
</map>
</div>

</div>
</div>
<a id="a9b1be10d8bd9fcf359014b934c65012a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b1be10d8bd9fcf359014b934c65012a">&#9670;&nbsp;</a></span>int_to_lotus64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 int_to_lotus64 </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00368">368</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;{</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;       <span class="keywordflow">if</span> (c  &lt; 10) <span class="keywordflow">return</span> <span class="charliteral">&#39;0&#39;</span> + c;</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (c  &lt; 36) <span class="keywordflow">return</span> <span class="charliteral">&#39;A&#39;</span> + c - 10;</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (c  &lt; 62) <span class="keywordflow">return</span> <span class="charliteral">&#39;a&#39;</span> + c - 36;</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (c == 62) <span class="keywordflow">return</span> <span class="charliteral">&#39;+&#39;</span>;</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (c == 63) <span class="keywordflow">return</span> <span class="charliteral">&#39;/&#39;</span>;</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="aeeb30594929bc083ef218015918bec00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeeb30594929bc083ef218015918bec00">&#9670;&nbsp;</a></span>is_valid_hex_char()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool is_valid_hex_char </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00129">129</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;{</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  <span class="keywordflow">if</span> ((c &gt;= <span class="charliteral">&#39;0&#39;</span>) &amp;&amp; (c &lt;= <span class="charliteral">&#39;9&#39;</span>)) <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;  <span class="keywordflow">if</span> ((c &gt;= <span class="charliteral">&#39;A&#39;</span>) &amp;&amp; (c &lt;= <span class="charliteral">&#39;F&#39;</span>)) <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;  <span class="keywordflow">if</span> ((c &gt;= <span class="charliteral">&#39;a&#39;</span>) &amp;&amp; (c &lt;= <span class="charliteral">&#39;f&#39;</span>)) <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="mpsp_8c_source.html#l00217">mp_expand()</a>, <a class="el" href="mpsp_8c_source.html#l00320">mp_gen_css()</a>, and <a class="el" href="mpsp_8c_source.html#l00439">mp_get_truncated_mask()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_aeeb30594929bc083ef218015918bec00_icgraph.gif" border="0" usemap="#convert_8c_aeeb30594929bc083ef218015918bec00_icgraph" alt=""/></div>
<map name="convert_8c_aeeb30594929bc083ef218015918bec00_icgraph" id="convert_8c_aeeb30594929bc083ef218015918bec00_icgraph">
<area shape="rect"  title=" " alt="" coords="1519,56,1643,83"/>
<area shape="rect"  href="mpsp_8c.html#af31e3f2c8e5fc1c8955c27a3d06e470d" title=" " alt="" coords="1343,56,1433,83"/>
<area shape="rect"  href="mpsp_8c.html#ab99db27312edcd754ec4bae96dcbc2f6" title=" " alt="" coords="1157,107,1253,133"/>
<area shape="rect"  href="mpsp_8c.html#a6b6ade5821415ee52494acc8e06d2246" title=" " alt="" coords="1305,5,1471,32"/>
<area shape="rect"  href="mpsp_8c.html#ae96d983a905f2c5acbca7ceaf177ce3d" title=" " alt="" coords="1153,56,1257,83"/>
<area shape="rect"  href="mpsp_8c.html#abfd45301318eec38b75a094fff49b551" title=" " alt="" coords="967,5,1070,32"/>
<area shape="rect"  href="mpsp_8c.html#a64fbce547686c2280f2c82a74900f97b" title=" " alt="" coords="932,56,1105,83"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,31,408,57"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,31,277,57"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,31,56,57"/>
<area shape="rect"  href="mpsp_8c.html#a0bc1fdc7efaa7d7cb8d83aea4a87e02e" title=" " alt="" coords="728,56,884,83"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="592,56,680,83"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="456,56,544,83"/>
<area shape="rect"  href="mpsp_8c.html#a0623c5fa80deffe6d9469ccdb02f9e2b" title=" " alt="" coords="1154,5,1257,32"/>
</map>
</div>

</div>
</div>
<a id="ade9401d721d49bdbc0837cd2f1e8c410"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade9401d721d49bdbc0837cd2f1e8c410">&#9670;&nbsp;</a></span>itoa32_to_int()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 itoa32_to_int </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00246">246</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;{</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;       <span class="keywordflow">if</span> ((c &gt;= <span class="charliteral">&#39;0&#39;</span>) &amp;&amp; (c &lt;= <span class="charliteral">&#39;9&#39;</span>)) <span class="keywordflow">return</span> c - <span class="charliteral">&#39;0&#39;</span>;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((c &gt;= <span class="charliteral">&#39;a&#39;</span>) &amp;&amp; (c &lt;= <span class="charliteral">&#39;v&#39;</span>)) <span class="keywordflow">return</span> c - <span class="charliteral">&#39;a&#39;</span> + 10;</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l06730">nsec3_parse_hash()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_ade9401d721d49bdbc0837cd2f1e8c410_icgraph.gif" border="0" usemap="#convert_8c_ade9401d721d49bdbc0837cd2f1e8c410_icgraph" alt=""/></div>
<map name="convert_8c_ade9401d721d49bdbc0837cd2f1e8c410_icgraph" id="convert_8c_ade9401d721d49bdbc0837cd2f1e8c410_icgraph">
<area shape="rect"  title=" " alt="" coords="791,5,887,32"/>
<area shape="rect"  href="interface_8c.html#aa40a4ececbe71626be83b08933f9d938" title=" " alt="" coords="612,5,743,32"/>
<area shape="rect"  href="interface_8c.html#a748d227a9485eb76daa5f1e70ea9badc" title=" " alt="" coords="456,5,564,32"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,5,408,32"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,5,277,32"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,5,56,32"/>
</map>
</div>

</div>
</div>
<a id="aa5db38db16f682f415bbed595c9f78cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5db38db16f682f415bbed595c9f78cf">&#9670;&nbsp;</a></span>itoa64_to_int()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 itoa64_to_int </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00267">267</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;{</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;  <span class="keyword">const</span> u8 tbl[0x100] =</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;  {</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21,</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31,</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x00, 0x01,</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a,</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x20, 0x21, 0x22, 0x23, 0x24,</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34,</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x00, 0x01, 0x02, 0x03, 0x04,</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24,</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;    0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34,</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x00, 0x01, 0x02, 0x03, 0x04,</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24,</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34,</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x00, 0x01, 0x02, 0x03, 0x04,</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;  };</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;  <span class="keywordflow">return</span> tbl[c];</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l11250">bsdicrypt_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07588">cisco8_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l07659">cisco9_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03028">descrypt_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l01780">drupal7_decode()</a>, <a class="el" href="interface_8c_source.html#l06363">drupal7_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l03213">md5asa_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l00482">md5crypt_decode()</a>, <a class="el" href="interface_8c_source.html#l03177">md5pix_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l00382">phpass_decode()</a>, <a class="el" href="interface_8c_source.html#l02828">phpass_parse_hash()</a>, <a class="el" href="interface_8c_source.html#l00938">sha1aix_decode()</a>, <a class="el" href="interface_8c_source.html#l01057">sha256aix_decode()</a>, <a class="el" href="interface_8c_source.html#l01597">sha256crypt_decode()</a>, <a class="el" href="interface_8c_source.html#l01241">sha512aix_decode()</a>, and <a class="el" href="interface_8c_source.html#l00582">sha512crypt_decode()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_aa5db38db16f682f415bbed595c9f78cf_icgraph.gif" border="0" usemap="#convert_8c_aa5db38db16f682f415bbed595c9f78cf_icgraph" alt=""/></div>
<map name="convert_8c_aa5db38db16f682f415bbed595c9f78cf_icgraph" id="convert_8c_aa5db38db16f682f415bbed595c9f78cf_icgraph">
<area shape="rect"  title=" " alt="" coords="1021,385,1117,412"/>
<area shape="rect"  href="interface_8c.html#a351a98cc91234e60f919010cc575139e" title=" " alt="" coords="621,5,770,32"/>
<area shape="rect"  href="interface_8c.html#ae08f7b408ec620b521410aacfe1beed8" title=" " alt="" coords="628,56,763,83"/>
<area shape="rect"  href="interface_8c.html#a61ecd8b29a9db2af071a44322f8b5432" title=" " alt="" coords="833,107,967,133"/>
<area shape="rect"  href="interface_8c.html#af15229470a00f0bc80f2d9d32004f512" title=" " alt="" coords="827,157,973,184"/>
<area shape="rect"  href="interface_8c.html#a749d61ad34e0f5f29b71182fd37674c0" title=" " alt="" coords="843,208,957,235"/>
<area shape="rect"  href="interface_8c.html#a65a4c31985c665d5a1284706ae821a5b" title=" " alt="" coords="626,208,765,235"/>
<area shape="rect"  href="interface_8c.html#a02a11573687817c95904cbac8cc09437" title=" " alt="" coords="829,309,971,336"/>
<area shape="rect"  href="interface_8c.html#ab1b2a5b7bbc517ceb424c38bf43a98fd" title=" " alt="" coords="837,360,963,387"/>
<area shape="rect"  href="interface_8c.html#abf9f53e4e32d4400d9dbaf812094c00e" title=" " alt="" coords="831,411,969,437"/>
<area shape="rect"  href="interface_8c.html#a6ced51a8815301baa22704c0f96af42f" title=" " alt="" coords="843,461,957,488"/>
<area shape="rect"  href="interface_8c.html#af041f38ef8bbbeec4d0fe82f27b8cca2" title=" " alt="" coords="626,512,765,539"/>
<area shape="rect"  href="interface_8c.html#a2636595dfd2e88bc60cf4d7b42277627" title=" " alt="" coords="842,563,958,589"/>
<area shape="rect"  href="interface_8c.html#af5514b7862b9ec2f8f32f35590ff55a4" title=" " alt="" coords="835,613,965,640"/>
<area shape="rect"  href="interface_8c.html#aa9c1b8cd3baf2aac108f2b48f4943158" title=" " alt="" coords="829,664,971,691"/>
<area shape="rect"  href="interface_8c.html#ad4070df9a97a98f7bf4d4f7ad6c82793" title=" " alt="" coords="835,715,965,741"/>
<area shape="rect"  href="interface_8c.html#ad44ef3d6d00cf2870d91a9d2ba4d4bcb" title=" " alt="" coords="829,765,971,792"/>
<area shape="rect"  href="interface_8c.html#a748d227a9485eb76daa5f1e70ea9badc" title=" " alt="" coords="456,385,564,412"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,385,408,412"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,385,277,412"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,385,56,412"/>
<area shape="rect"  href="interface_8c.html#aa06ea9b9d4e2a2aa0ed1294d747368e5" title=" " alt="" coords="620,309,771,336"/>
<area shape="rect"  href="interface_8c.html#af4da5d18981f0b84920d0fb7a25124a4" title=" " alt="" coords="622,360,769,387"/>
<area shape="rect"  href="interface_8c.html#ad841f94a0575cdb9b45283c7a3330e5d" title=" " alt="" coords="626,411,765,437"/>
<area shape="rect"  href="interface_8c.html#a3e241467f21d00cc107a378f9ddc53ce" title=" " alt="" coords="625,563,766,589"/>
<area shape="rect"  href="interface_8c.html#ad3ebe6b878901624fd304eaf8ede119e" title=" " alt="" coords="618,613,773,640"/>
<area shape="rect"  href="interface_8c.html#ae63e44929c2622b3995a680ed3a66931" title=" " alt="" coords="612,664,779,691"/>
<area shape="rect"  href="interface_8c.html#ada863621a90db913d93e02da6ebacf93" title=" " alt="" coords="618,715,773,741"/>
<area shape="rect"  href="interface_8c.html#a6588d020097f44339bb5f04cd6bc0786" title=" " alt="" coords="612,765,779,792"/>
</map>
</div>

</div>
</div>
<a id="aebc128f91ff8d770a898aca466ceac2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebc128f91ff8d770a898aca466ceac2f">&#9670;&nbsp;</a></span>lotus64_to_int()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 lotus64_to_int </td>
          <td>(</td>
          <td class="paramtype">const u8&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00379">379</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;{</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;       <span class="keywordflow">if</span> ((c &gt;= <span class="charliteral">&#39;0&#39;</span>) &amp;&amp; (c &lt;= <span class="charliteral">&#39;9&#39;</span>)) <span class="keywordflow">return</span> c - <span class="charliteral">&#39;0&#39;</span>;</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((c &gt;= <span class="charliteral">&#39;A&#39;</span>) &amp;&amp; (c &lt;= <span class="charliteral">&#39;Z&#39;</span>)) <span class="keywordflow">return</span> c - <span class="charliteral">&#39;A&#39;</span> + 10;</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((c &gt;= <span class="charliteral">&#39;a&#39;</span>) &amp;&amp; (c &lt;= <span class="charliteral">&#39;z&#39;</span>)) <span class="keywordflow">return</span> c - <span class="charliteral">&#39;a&#39;</span> + 36;</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (c == <span class="charliteral">&#39;+&#39;</span>) <span class="keywordflow">return</span> 62;</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;  <span class="keywordflow">else</span> <span class="keywordflow">if</span> (c == <span class="charliteral">&#39;/&#39;</span>) <span class="keywordflow">return</span> 63;</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;  <span class="keywordflow">else</span></div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="ad54bea4a6f0f90682ae7af02cefe8a3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad54bea4a6f0f90682ae7af02cefe8a3f">&#9670;&nbsp;</a></span>lowercase()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lowercase </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00539">539</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;{</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; len; i++) buf[i] = tolower (buf[i]);</div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l02002">parse_and_store_salt()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_ad54bea4a6f0f90682ae7af02cefe8a3f_icgraph.gif" border="0" usemap="#convert_8c_ad54bea4a6f0f90682ae7af02cefe8a3f_icgraph" alt=""/></div>
<map name="convert_8c_ad54bea4a6f0f90682ae7af02cefe8a3f_icgraph" id="convert_8c_ad54bea4a6f0f90682ae7af02cefe8a3f_icgraph">
<area shape="rect"  title=" " alt="" coords="431,1196,511,1223"/>
<area shape="rect"  href="interface_8c.html#a8c2e7aed0686be8070c2e2c763636049" title=" " alt="" coords="236,1196,383,1223"/>
<area shape="rect"  href="interface_8c.html#a2c5fe5805daf5848d9c457ae77dfee12" title=" " alt="" coords="25,5,168,32"/>
<area shape="rect"  href="interface_8c.html#af94497bf43e07d123d6d8dc68e386887" title=" " alt="" coords="35,56,159,83"/>
<area shape="rect"  href="interface_8c.html#a9a43ebf4abd99f502a4d3d3c6db9293d" title=" " alt="" coords="27,107,166,133"/>
<area shape="rect"  href="interface_8c.html#a80146ba5fa57c66575e6b3b7efe8ee4e" title=" " alt="" coords="38,157,155,184"/>
<area shape="rect"  href="interface_8c.html#a114872fe884f1bfef58320157b4f7dde" title=" " alt="" coords="20,208,173,235"/>
<area shape="rect"  href="interface_8c.html#a19aadf1b14c2f9b7a383df54e1dde8a3" title=" " alt="" coords="38,259,155,285"/>
<area shape="rect"  href="interface_8c.html#a9115211e9e3263b041178a3d5e25d308" title=" " alt="" coords="35,309,159,336"/>
<area shape="rect"  href="interface_8c.html#a0fe201430ec698339f5d631e0fe70bc9" title=" " alt="" coords="23,360,170,387"/>
<area shape="rect"  href="interface_8c.html#a29ecd7d869df0d27d00162bbe203b815" title=" " alt="" coords="33,411,161,437"/>
<area shape="rect"  href="interface_8c.html#a02a11573687817c95904cbac8cc09437" title=" " alt="" coords="25,461,168,488"/>
<area shape="rect"  href="interface_8c.html#a33a313b0f1a4759adae6773641050056" title=" " alt="" coords="21,512,172,539"/>
<area shape="rect"  href="interface_8c.html#a71e61b05b04a6cbfa9efdf5e96c0df62" title=" " alt="" coords="29,563,164,589"/>
<area shape="rect"  href="interface_8c.html#a23ab2b5a1284d8dd7fbfbae55a92c441" title=" " alt="" coords="19,613,175,640"/>
<area shape="rect"  href="interface_8c.html#a88f1b7b9fa68bdfc5ac6b04394bad151" title=" " alt="" coords="23,664,170,691"/>
<area shape="rect"  href="interface_8c.html#ac2bc71c1df22109a4b08cf02114e0f15" title=" " alt="" coords="39,715,154,741"/>
<area shape="rect"  href="interface_8c.html#a96745e9a2c107a853c3c609019dd011b" title=" " alt="" coords="35,765,158,792"/>
<area shape="rect"  href="interface_8c.html#aada45e99374548a9093bebfffd95ecc5" title=" " alt="" coords="38,816,155,843"/>
<area shape="rect"  href="interface_8c.html#a7968f702e55592a82204d3bda388eba3" title=" " alt="" coords="37,867,157,893"/>
<area shape="rect"  href="interface_8c.html#ad3534b8542dda3eb6421b2c5fbd9a916" title=" " alt="" coords="31,917,162,944"/>
<area shape="rect"  href="interface_8c.html#a320bd3334b3dede48046b34a0b732863" title=" " alt="" coords="17,968,176,995"/>
<area shape="rect"  href="interface_8c.html#af243bec5d4c400644bc7585c587265bd" title=" " alt="" coords="17,1019,176,1045"/>
<area shape="rect"  href="interface_8c.html#a70855f6ef6b7d6ff60a73137cfa03884" title=" " alt="" coords="17,1069,176,1096"/>
<area shape="rect"  href="interface_8c.html#aea981aa55f62d0e4734a020b87e273fb" title=" " alt="" coords="27,1120,166,1147"/>
<area shape="rect"  href="interface_8c.html#a565aca487e89217bc7862cda478fc825" title=" " alt="" coords="27,1171,166,1197"/>
<area shape="rect"  href="interface_8c.html#afeb9ae84ede112262475ead0b88a8158" title=" " alt="" coords="24,1221,169,1248"/>
<area shape="rect"  href="interface_8c.html#a85cfbd620e4b8b50567e8041ad9d9ee8" title=" " alt="" coords="24,1272,169,1299"/>
<area shape="rect"  href="interface_8c.html#abbf26499a53b3d5641eddb4d67ce5000" title=" " alt="" coords="19,1323,174,1349"/>
<area shape="rect"  href="interface_8c.html#ae5486cdc7d0cc3f7f8d81446daaf71a3" title=" " alt="" coords="24,1373,169,1400"/>
<area shape="rect"  href="interface_8c.html#ab2e659b84d92bf91bac7725ccbd0b55b" title=" " alt="" coords="19,1424,174,1451"/>
<area shape="rect"  href="interface_8c.html#a55912bb88443315b370feddc0ee84c32" title=" " alt="" coords="20,1475,173,1501"/>
<area shape="rect"  href="interface_8c.html#a6df4b88e7c469caa0a252960704acead" title=" " alt="" coords="19,1525,175,1552"/>
<area shape="rect"  href="interface_8c.html#a7e65db9dc6c591f6c0874521d75c8e21" title=" " alt="" coords="11,1576,182,1603"/>
<area shape="rect"  href="interface_8c.html#a9250f009a72026473b76b26f29945462" title=" " alt="" coords="11,1627,182,1653"/>
<area shape="rect"  href="interface_8c.html#a6a8a27476492a4e3f4d69675327d090f" title=" " alt="" coords="35,1677,159,1704"/>
<area shape="rect"  href="interface_8c.html#adb5cb53c0c266d3d053ef905f2725f95" title=" " alt="" coords="35,1728,159,1755"/>
<area shape="rect"  href="interface_8c.html#ab6aff2a2fa56719489fc2f3230c34cfb" title=" " alt="" coords="17,1779,176,1805"/>
<area shape="rect"  href="interface_8c.html#aa40a4ececbe71626be83b08933f9d938" title=" " alt="" coords="31,1829,162,1856"/>
<area shape="rect"  href="interface_8c.html#ad47fb749a43eca0c23bf700bc3db283d" title=" " alt="" coords="33,1880,160,1907"/>
<area shape="rect"  href="interface_8c.html#af8ecad08313e88342badb322ab5bfe08" title=" " alt="" coords="23,1931,170,1957"/>
<area shape="rect"  href="interface_8c.html#ae14b757009262d3aac6398586dc65079" title=" " alt="" coords="38,1981,155,2008"/>
<area shape="rect"  href="interface_8c.html#a3d54047a4ae271d37578ea602efc4eba" title=" " alt="" coords="38,2032,155,2059"/>
<area shape="rect"  href="interface_8c.html#a804b2604c245332fd9122e381ad96b71" title=" " alt="" coords="16,2083,177,2109"/>
<area shape="rect"  href="interface_8c.html#a34db9030043650f74765c591449c20d0" title=" " alt="" coords="35,2133,159,2160"/>
<area shape="rect"  href="interface_8c.html#add487ed4a3ca1f5f0482b2d2e65d1196" title=" " alt="" coords="13,2184,180,2211"/>
<area shape="rect"  href="interface_8c.html#a1da1b0d1e5cb690d301b4d2e7947f86d" title=" " alt="" coords="31,2235,162,2261"/>
<area shape="rect"  href="interface_8c.html#a7d831db26ba077b3bf17023652f5ba7b" title=" " alt="" coords="25,2285,168,2312"/>
<area shape="rect"  href="interface_8c.html#ab90a264d500203b9002ab014719b47b8" title=" " alt="" coords="5,2336,188,2363"/>
<area shape="rect"  href="interface_8c.html#aa54898e4be1c980b33557d8a1a7aa1d9" title=" " alt="" coords="17,2387,177,2413"/>
</map>
</div>

</div>
</div>
<a id="a43b00d6f60cf0f0b971029f9c1c208ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43b00d6f60cf0f0b971029f9c1c208ca">&#9670;&nbsp;</a></span>need_hexify()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool need_hexify </td>
          <td>(</td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>always_ascii</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00078">78</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;{</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <span class="keywordflow">if</span> (always_ascii == <span class="keyword">true</span>)</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  {</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="convert_8c.html#a24581c9770964df6695ee679f1d95a8f">printable_ascii</a> (buf, len) == <span class="keyword">true</span>)</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    {</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;      <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    }</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    {</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;      <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    }</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  }</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <span class="keywordflow">else</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  {</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="convert_8c.html#a3fadd64188f3a6895cd82062ada514e6">printable_utf8</a> (buf, len) == <span class="keyword">true</span>)</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    {</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;      <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    }</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    {</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;      <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    }</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  }</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;}</div><div class="ttc" id="convert_8c_html_a3fadd64188f3a6895cd82062ada514e6"><div class="ttname"><a href="convert_8c.html#a3fadd64188f3a6895cd82062ada514e6">printable_utf8</a></div><div class="ttdeci">static bool printable_utf8(const u8 *buf, const int len)</div><div class="ttdef"><b>Definition:</b> <a href="convert_8c_source.html#l00010">convert.c:10</a></div></div>
<div class="ttc" id="convert_8c_html_a24581c9770964df6695ee679f1d95a8f"><div class="ttname"><a href="convert_8c.html#a24581c9770964df6695ee679f1d95a8f">printable_ascii</a></div><div class="ttdeci">static bool printable_ascii(const u8 *buf, const int len)</div><div class="ttdef"><b>Definition:</b> <a href="convert_8c_source.html#l00065">convert.c:65</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="convert_8c_source.html#l00065">printable_ascii()</a>, and <a class="el" href="convert_8c_source.html#l00010">printable_utf8()</a>.</p>

<p class="reference">Referenced by <a class="el" href="outfile_8c_source.html#l00341">outfile_write()</a>, <a class="el" href="potfile_8c_source.html#l00201">potfile_write_append()</a>, and <a class="el" href="status_8c_source.html#l00691">status_get_input_candidates_dev()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a43b00d6f60cf0f0b971029f9c1c208ca_cgraph.gif" border="0" usemap="#convert_8c_a43b00d6f60cf0f0b971029f9c1c208ca_cgraph" alt=""/></div>
<map name="convert_8c_a43b00d6f60cf0f0b971029f9c1c208ca_cgraph" id="convert_8c_a43b00d6f60cf0f0b971029f9c1c208ca_cgraph">
<area shape="rect"  title=" " alt="" coords="5,31,96,57"/>
<area shape="rect"  href="convert_8c.html#a24581c9770964df6695ee679f1d95a8f" title=" " alt="" coords="144,5,249,32"/>
<area shape="rect"  href="convert_8c.html#a3fadd64188f3a6895cd82062ada514e6" title=" " alt="" coords="147,56,246,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a43b00d6f60cf0f0b971029f9c1c208ca_icgraph.gif" border="0" usemap="#convert_8c_a43b00d6f60cf0f0b971029f9c1c208ca_icgraph" alt=""/></div>
<map name="convert_8c_a43b00d6f60cf0f0b971029f9c1c208ca_icgraph" id="convert_8c_a43b00d6f60cf0f0b971029f9c1c208ca_icgraph">
<area shape="rect"  title=" " alt="" coords="3552,107,3643,133"/>
<area shape="rect"  href="outfile_8c.html#adaa59c594cc2e7c8c6ee05a6117c5313" title=" " alt="" coords="1793,56,1883,83"/>
<area shape="rect"  href="potfile_8c.html#a769fba1d52f71c0c9a1ba04a46429ac0" title=" " alt="" coords="3327,107,3466,133"/>
<area shape="rect"  href="status_8c.html#a923fe03c8487c12bd656a22d6dc3f0b7" title=" " alt="" coords="3289,212,3504,239"/>
<area shape="rect"  href="hashes_8c.html#a941bbcf804b81ac407d485859bf87999" title=" " alt="" coords="1554,107,1646,133"/>
<area shape="rect"  href="potfile_8c.html#ab54e1941ce1ee998c5b86e79d6e57bbc" title=" " alt="" coords="968,5,1107,32"/>
<area shape="rect"  href="potfile_8c.html#aa340141d20febc4004a75982ea4927b2" title=" " alt="" coords="795,81,920,108"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="1345,208,1455,235"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="1174,360,1265,387"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="1155,309,1284,336"/>
<area shape="rect"  href="dispatch_8c.html#a274118ca9e580459d6e82f6d61a34d59" title=" " alt="" coords="997,360,1078,387"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="1014,411,1061,437"/>
<area shape="rect"  href="dispatch_8c.html#a9e518ec031f388304424fb2852075038" title=" " alt="" coords="795,360,919,387"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="657,360,745,387"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="487,360,575,387"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,284,408,311"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,537,277,564"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,816,56,843"/>
<area shape="rect"  href="dispatch_8c.html#a45ffdf5a91d67bdc7a27b7fe7d39761a" title=" " alt="" coords="813,411,902,437"/>
<area shape="rect"  href="hashcat_8c.html#a325cba22ef98f99a706d99c65989a2c2" title=" " alt="" coords="3105,268,3241,295"/>
<area shape="rect"  href="main__shared_8c.html#ae96d7808ccfe95bbec7a55e2ada91935" title=" " alt="" coords="2937,217,2987,244"/>
<area shape="rect"  href="terminal_8c.html#ae3a80a3f67aa1810c8d9e49911f490a6" title=" " alt="" coords="2881,319,3043,361"/>
<area shape="rect"  href="terminal_8c.html#a64a36e504f5e3a0b633b17dcfcf8366f" title=" " alt="" coords="2701,328,2807,355"/>
<area shape="rect"  href="terminal_8c.html#ab059eb0bceb2ee24e8f86c04f4354d16" title=" " alt="" coords="2867,436,3057,463"/>
<area shape="rect"  href="terminal_8c.html#a30f3bb901b9e4c86fe78abb104c2f2fa" title=" " alt="" coords="2689,432,2819,459"/>
<area shape="rect"  href="main_8c.html#af6ada2a7aa24abc385db81bf2967d967" title=" " alt="" coords="2491,432,2641,459"/>
<area shape="rect"  href="main_8c.html#a4e664697b793b6744c9849c1de53a051" title=" " alt="" coords="2300,379,2443,421"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="2529,328,2603,355"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1992,445,2044,472"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="655,867,747,893"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="1740,563,1936,589"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="1559,461,1641,488"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="1775,208,1901,235"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="1516,360,1684,387"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="1517,715,1683,741"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="1517,309,1683,336"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="1757,259,1919,285"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="1732,664,1944,691"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="1752,461,1924,488"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="1772,512,1904,539"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="1347,563,1453,589"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="1548,512,1652,539"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="1543,563,1657,589"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="1332,613,1468,640"/>
<area shape="rect"  href="opencl_8c.html#a6b485c94e6a1ed68eb8a230b59947aba" title=" " alt="" coords="1347,512,1453,539"/>
<area shape="rect"  href="opencl_8c.html#ad74b845ad0c7ef8fb27e99d419a708a0" title=" " alt="" coords="1182,411,1257,437"/>
<area shape="rect"  href="autotune_8c.html#a58022d7cc5d8126f33e8635c5ae62c2b" title=" " alt="" coords="1183,639,1255,665"/>
<area shape="rect"  href="opencl_8c.html#a25858ed9c49bd2972bb375ec8190c2ba" title=" " alt="" coords="456,259,607,285"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="2312,328,2431,355"/>
<area shape="rect"  href="main_8c.html#aa9cb60ea1fd75f8faf5ce16454f526ec" title=" " alt="" coords="2092,332,2252,359"/>
</map>
</div>

</div>
</div>
<a id="a24581c9770964df6695ee679f1d95a8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24581c9770964df6695ee679f1d95a8f">&#9670;&nbsp;</a></span>printable_ascii()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool printable_ascii </td>
          <td>(</td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00065">65</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;{</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; len; i++)</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;  {</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keyword">const</span> u8 c = buf[i];</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordflow">if</span> (c &lt; 0x20) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordflow">if</span> (c &gt; 0x7e) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  }</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="convert_8c_source.html#l00078">need_hexify()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a24581c9770964df6695ee679f1d95a8f_icgraph.gif" border="0" usemap="#convert_8c_a24581c9770964df6695ee679f1d95a8f_icgraph" alt=""/></div>
<map name="convert_8c_a24581c9770964df6695ee679f1d95a8f_icgraph" id="convert_8c_a24581c9770964df6695ee679f1d95a8f_icgraph">
<area shape="rect"  title=" " alt="" coords="3647,93,3752,120"/>
<area shape="rect"  href="convert_8c.html#a43b00d6f60cf0f0b971029f9c1c208ca" title=" " alt="" coords="3508,93,3599,120"/>
<area shape="rect"  href="outfile_8c.html#adaa59c594cc2e7c8c6ee05a6117c5313" title=" " alt="" coords="1909,43,2000,69"/>
<area shape="rect"  href="potfile_8c.html#a769fba1d52f71c0c9a1ba04a46429ac0" title=" " alt="" coords="3283,93,3422,120"/>
<area shape="rect"  href="status_8c.html#a923fe03c8487c12bd656a22d6dc3f0b7" title=" " alt="" coords="3245,199,3460,225"/>
<area shape="rect"  href="hashes_8c.html#a941bbcf804b81ac407d485859bf87999" title=" " alt="" coords="1709,93,1801,120"/>
<area shape="rect"  href="potfile_8c.html#ab54e1941ce1ee998c5b86e79d6e57bbc" title=" " alt="" coords="456,11,595,37"/>
<area shape="rect"  href="potfile_8c.html#aa340141d20febc4004a75982ea4927b2" title=" " alt="" coords="1084,55,1209,81"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="1463,245,1573,272"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="1101,397,1192,424"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="1257,296,1387,323"/>
<area shape="rect"  href="dispatch_8c.html#a274118ca9e580459d6e82f6d61a34d59" title=" " alt="" coords="955,447,1036,473"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="972,396,1019,423"/>
<area shape="rect"  href="dispatch_8c.html#a9e518ec031f388304424fb2852075038" title=" " alt="" coords="783,435,907,461"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="645,352,733,379"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="481,349,569,376"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,287,408,313"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,287,277,313"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,287,56,313"/>
<area shape="rect"  href="dispatch_8c.html#a45ffdf5a91d67bdc7a27b7fe7d39761a" title=" " alt="" coords="800,359,889,385"/>
<area shape="rect"  href="hashcat_8c.html#a325cba22ef98f99a706d99c65989a2c2" title=" " alt="" coords="3061,255,3197,281"/>
<area shape="rect"  href="main__shared_8c.html#ae96d7808ccfe95bbec7a55e2ada91935" title=" " alt="" coords="2893,204,2943,231"/>
<area shape="rect"  href="terminal_8c.html#ae3a80a3f67aa1810c8d9e49911f490a6" title=" " alt="" coords="2837,306,2999,347"/>
<area shape="rect"  href="terminal_8c.html#a64a36e504f5e3a0b633b17dcfcf8366f" title=" " alt="" coords="2657,315,2763,341"/>
<area shape="rect"  href="terminal_8c.html#ab059eb0bceb2ee24e8f86c04f4354d16" title=" " alt="" coords="2823,423,3013,449"/>
<area shape="rect"  href="terminal_8c.html#a30f3bb901b9e4c86fe78abb104c2f2fa" title=" " alt="" coords="2645,419,2775,445"/>
<area shape="rect"  href="main_8c.html#af6ada2a7aa24abc385db81bf2967d967" title=" " alt="" coords="2447,419,2597,445"/>
<area shape="rect"  href="main_8c.html#a4e664697b793b6744c9849c1de53a051" title=" " alt="" coords="2256,366,2399,407"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="2485,315,2559,341"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1929,432,1981,459"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="643,220,735,247"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="1657,448,1853,475"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="1477,347,1559,373"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="1692,600,1819,627"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="1671,549,1839,576"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="1435,651,1601,677"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="1672,245,1839,272"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="1674,651,1837,677"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="1649,701,1861,728"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="1669,347,1841,373"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="1689,397,1821,424"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="1269,397,1375,424"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="1466,448,1570,475"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="1461,499,1575,525"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="1450,549,1586,576"/>
<area shape="rect"  href="opencl_8c.html#a6b485c94e6a1ed68eb8a230b59947aba" title=" " alt="" coords="1269,448,1375,475"/>
<area shape="rect"  href="opencl_8c.html#ad74b845ad0c7ef8fb27e99d419a708a0" title=" " alt="" coords="1109,448,1184,475"/>
<area shape="rect"  href="autotune_8c.html#a58022d7cc5d8126f33e8635c5ae62c2b" title=" " alt="" coords="1286,561,1358,588"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="2268,315,2387,341"/>
<area shape="rect"  href="main_8c.html#aa9cb60ea1fd75f8faf5ce16454f526ec" title=" " alt="" coords="2048,319,2208,345"/>
</map>
</div>

</div>
</div>
<a id="a3fadd64188f3a6895cd82062ada514e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fadd64188f3a6895cd82062ada514e6">&#9670;&nbsp;</a></span>printable_utf8()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool printable_utf8 </td>
          <td>(</td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Author......: See docs/credits.txt License.....: MIT </p>

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00010">10</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;{</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;  u8 a;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;  <span class="keywordtype">int</span> length;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;  <span class="keyword">const</span> u8 *buf_end = buf + len;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;  <span class="keyword">const</span> u8 *srcptr;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> trailingBytesUTF8[64] = {</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  };</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;  <span class="keywordflow">while</span> (buf &lt; buf_end) {</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="comment">// This line rejects unprintables. The rest of the function</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="comment">// reliably rejects invalid UTF-8 sequences.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <span class="keywordflow">if</span> (*buf &lt; 0x20 || *buf == 0x7f) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keywordflow">if</span> (*buf &lt; 0x80) {</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;      buf++;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;      <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    }</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    length = trailingBytesUTF8[*buf &amp; 0x3f] + 1;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    srcptr = buf + length;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keywordflow">if</span> (srcptr &gt; buf_end) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keywordflow">switch</span> (length) {</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordflow">default</span>:</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;      <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keywordflow">case</span> 4:</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;      <span class="keywordflow">if</span> ((a = (*--srcptr)) &lt; 0x80 || a &gt; 0xbf) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordflow">case</span> 3:</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;      <span class="keywordflow">if</span> ((a = (*--srcptr)) &lt; 0x80 || a &gt; 0xbf) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordflow">case</span> 2:</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;      <span class="keywordflow">if</span> ((a = (*--srcptr)) &lt; 0x80 || a &gt; 0xbf) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;      <span class="keywordflow">switch</span> (*buf) {</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;      <span class="keywordflow">case</span> 0xE0: <span class="keywordflow">if</span> (a &lt; 0xa0) <span class="keywordflow">return</span> <span class="keyword">false</span>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;      <span class="keywordflow">case</span> 0xED: <span class="keywordflow">if</span> (a &gt; 0x9f) <span class="keywordflow">return</span> <span class="keyword">false</span>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;      <span class="keywordflow">case</span> 0xF0: <span class="keywordflow">if</span> (a &lt; 0x90) <span class="keywordflow">return</span> <span class="keyword">false</span>; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;      <span class="keywordflow">case</span> 0xF4: <span class="keywordflow">if</span> (a &gt; 0x8f) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;      }</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordflow">case</span> 1:</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;      <span class="keywordflow">if</span> (*buf &gt;= 0x80 &amp;&amp; *buf &lt; 0xc2) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    }</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keywordflow">if</span> (*buf &gt; 0xf4)</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;      <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    buf += length;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  }</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="convert_8c_source.html#l00078">need_hexify()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a3fadd64188f3a6895cd82062ada514e6_icgraph.gif" border="0" usemap="#convert_8c_a3fadd64188f3a6895cd82062ada514e6_icgraph" alt=""/></div>
<map name="convert_8c_a3fadd64188f3a6895cd82062ada514e6_icgraph" id="convert_8c_a3fadd64188f3a6895cd82062ada514e6_icgraph">
<area shape="rect"  title=" " alt="" coords="3647,93,3745,120"/>
<area shape="rect"  href="convert_8c.html#a43b00d6f60cf0f0b971029f9c1c208ca" title=" " alt="" coords="3508,93,3599,120"/>
<area shape="rect"  href="outfile_8c.html#adaa59c594cc2e7c8c6ee05a6117c5313" title=" " alt="" coords="1909,43,2000,69"/>
<area shape="rect"  href="potfile_8c.html#a769fba1d52f71c0c9a1ba04a46429ac0" title=" " alt="" coords="3283,93,3422,120"/>
<area shape="rect"  href="status_8c.html#a923fe03c8487c12bd656a22d6dc3f0b7" title=" " alt="" coords="3245,199,3460,225"/>
<area shape="rect"  href="hashes_8c.html#a941bbcf804b81ac407d485859bf87999" title=" " alt="" coords="1709,93,1801,120"/>
<area shape="rect"  href="potfile_8c.html#ab54e1941ce1ee998c5b86e79d6e57bbc" title=" " alt="" coords="456,11,595,37"/>
<area shape="rect"  href="potfile_8c.html#aa340141d20febc4004a75982ea4927b2" title=" " alt="" coords="1084,55,1209,81"/>
<area shape="rect"  href="hashes_8c.html#a98055a12599ed1bd53da5c0694605f3d" title=" " alt="" coords="1463,245,1573,272"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="1101,397,1192,424"/>
<area shape="rect"  href="weak__hash_8c.html#a410a6e1cce44e8f0c4cde8ec7d00ecd8" title=" " alt="" coords="1257,296,1387,323"/>
<area shape="rect"  href="dispatch_8c.html#a274118ca9e580459d6e82f6d61a34d59" title=" " alt="" coords="955,447,1036,473"/>
<area shape="rect"  href="dispatch_8c.html#a0502555fe69aef3e7b8c3886ef18c145" title=" " alt="" coords="972,396,1019,423"/>
<area shape="rect"  href="dispatch_8c.html#a9e518ec031f388304424fb2852075038" title=" " alt="" coords="783,435,907,461"/>
<area shape="rect"  href="hashcat_8c.html#a9ec4f74d423ae0bd4aa6e960632b7086" title=" " alt="" coords="645,352,733,379"/>
<area shape="rect"  href="hashcat_8c.html#ad6cc36d03dcdad3413c794efecb3178a" title=" " alt="" coords="481,349,569,376"/>
<area shape="rect"  href="hashcat_8c.html#ac33e9695b713153c0fc7cce11696704b" title=" " alt="" coords="325,287,408,313"/>
<area shape="rect"  href="hashcat_8c.html#ac49fece3f82732fda9eb29766cc01168" title=" " alt="" coords="104,287,277,313"/>
<area shape="rect"  href="main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title=" " alt="" coords="5,287,56,313"/>
<area shape="rect"  href="dispatch_8c.html#a45ffdf5a91d67bdc7a27b7fe7d39761a" title=" " alt="" coords="800,359,889,385"/>
<area shape="rect"  href="hashcat_8c.html#a325cba22ef98f99a706d99c65989a2c2" title=" " alt="" coords="3061,255,3197,281"/>
<area shape="rect"  href="main__shared_8c.html#ae96d7808ccfe95bbec7a55e2ada91935" title=" " alt="" coords="2893,204,2943,231"/>
<area shape="rect"  href="terminal_8c.html#ae3a80a3f67aa1810c8d9e49911f490a6" title=" " alt="" coords="2837,306,2999,347"/>
<area shape="rect"  href="terminal_8c.html#a64a36e504f5e3a0b633b17dcfcf8366f" title=" " alt="" coords="2657,315,2763,341"/>
<area shape="rect"  href="terminal_8c.html#ab059eb0bceb2ee24e8f86c04f4354d16" title=" " alt="" coords="2823,423,3013,449"/>
<area shape="rect"  href="terminal_8c.html#a30f3bb901b9e4c86fe78abb104c2f2fa" title=" " alt="" coords="2645,419,2775,445"/>
<area shape="rect"  href="main_8c.html#af6ada2a7aa24abc385db81bf2967d967" title=" " alt="" coords="2447,419,2597,445"/>
<area shape="rect"  href="main_8c.html#a4e664697b793b6744c9849c1de53a051" title=" " alt="" coords="2256,366,2399,407"/>
<area shape="rect"  href="terminal_8c.html#a99e7c4c326b4b2acdbe60cedc81efea1" title=" " alt="" coords="2485,315,2559,341"/>
<area shape="rect"  href="main_8c.html#a73c3170c7171851eb6e8f5a402599423" title=" " alt="" coords="1929,432,1981,459"/>
<area shape="rect"  href="hashcat_8c.html#ade4c61ccaafb16eae04c7d4b727942f3" title=" " alt="" coords="643,220,735,247"/>
<area shape="rect"  href="opencl_8c.html#a3797f3c2680a9e341e314ad0c84c9b16" title=" " alt="" coords="1657,448,1853,475"/>
<area shape="rect"  href="opencl_8c.html#a0c2e61014e4dab417caa193c598b6a23" title=" " alt="" coords="1477,347,1559,373"/>
<area shape="rect"  href="opencl_8c.html#a6b505220d582c3a31d651cbe1d685484" title=" " alt="" coords="1692,600,1819,627"/>
<area shape="rect"  href="opencl_8c.html#ab47974684ac3076a5e2fe97db360f1f1" title=" " alt="" coords="1671,549,1839,576"/>
<area shape="rect"  href="opencl_8c.html#ac62e3f353065d17d4caa46e165be51c2" title=" " alt="" coords="1435,651,1601,677"/>
<area shape="rect"  href="opencl_8c.html#a707b32d6170142181dc47bc668c03efa" title=" " alt="" coords="1672,245,1839,272"/>
<area shape="rect"  href="opencl_8c.html#af7aecf5b949a11bafa5f455504b5a8c2" title=" " alt="" coords="1674,651,1837,677"/>
<area shape="rect"  href="opencl_8c.html#aba298160a7f6951fdd26c1e2846e7f9b" title=" " alt="" coords="1649,701,1861,728"/>
<area shape="rect"  href="opencl_8c.html#a1a05fbe1529ac9bd5fcd1a0fed0f0fe7" title=" " alt="" coords="1669,347,1841,373"/>
<area shape="rect"  href="opencl_8c.html#ad598c213dd69579a45ca34bcac1ba552" title=" " alt="" coords="1689,397,1821,424"/>
<area shape="rect"  href="opencl_8c.html#a923e021b433067dd09b59522c754d4f4" title=" " alt="" coords="1269,397,1375,424"/>
<area shape="rect"  href="opencl_8c.html#aa3be407e53521e7f7f0d4de086ee7018" title=" " alt="" coords="1466,448,1570,475"/>
<area shape="rect"  href="opencl_8c.html#a3053f61b5154e477dca1ab3af40fc67f" title=" " alt="" coords="1461,499,1575,525"/>
<area shape="rect"  href="opencl_8c.html#a270475ec734ad9d206b4bfc7a8e7139b" title=" " alt="" coords="1450,549,1586,576"/>
<area shape="rect"  href="opencl_8c.html#a6b485c94e6a1ed68eb8a230b59947aba" title=" " alt="" coords="1269,448,1375,475"/>
<area shape="rect"  href="opencl_8c.html#ad74b845ad0c7ef8fb27e99d419a708a0" title=" " alt="" coords="1109,448,1184,475"/>
<area shape="rect"  href="autotune_8c.html#a58022d7cc5d8126f33e8635c5ae62c2b" title=" " alt="" coords="1286,561,1358,588"/>
<area shape="rect"  href="terminal_8c.html#a5a70871e3050a17bffd2e15779d536d2" title=" " alt="" coords="2268,315,2387,341"/>
<area shape="rect"  href="main_8c.html#aa9cb60ea1fd75f8faf5ce16454f526ec" title=" " alt="" coords="2048,319,2208,345"/>
</map>
</div>

</div>
</div>
<a id="a1412e96e57910ce2ffee8c05dc7088c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1412e96e57910ce2ffee8c05dc7088c1">&#9670;&nbsp;</a></span>uppercase()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void uppercase </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="convert_8c_source.html#l00544">544</a> of file <a class="el" href="convert_8c_source.html">convert.c</a>.</p>
<div class="fragment"><div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;{</div><div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; len; i++) buf[i] = toupper (buf[i]);</div><div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="interface_8c_source.html#l02002">parse_and_store_salt()</a>, and <a class="el" href="opencl_8c_source.html#l01676">run_cracker()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="convert_8c_a1412e96e57910ce2ffee8c05dc7088c1_icgraph.gif" border="0" usemap="#convert_8c_a1412e96e57910ce2ffee8c05dc7088c1_icgraph" alt=""/></div>
<map name="convert_8c_a1412e96e57910ce2ffee8c05dc7088c1_icgraph" id="convert_8c_a1412e96e57910ce2ffee8c05dc7088c1_icgraph">
<area shape="rect"  title=" " alt="" coords="431,1196,513,1223"/>
<area shape="rect"  href="interface_8c.html#a8c2e7aed0686be8070c2e2c763636049" title=" " alt="" coords="236,1171,383,1197"/>
<area shape="rect"  href="opencl_8c.html#af8bef12676549083a86b2986c456f72d" title=" " alt="" coords="264,1221,355,1248"/>
<area shape="rect"  href="interface_8c.html#a2c5fe5805daf5848d9c457ae77dfee12" title=" " alt="" coords="25,5,168,32"/>
<area shape="rect"  href="interface_8c.html#af94497bf43e07d123d6d8dc68e386887" title=" " alt="" coords="35,56,159,83"/>
<area shape="rect"  href="interface_8c.html#a9a43ebf4abd99f502a4d3d3c6db9293d" title=" " alt="" coords="27,107,166,133"/>
<area shape="rect"  href="interface_8c.html#a80146ba5fa57c66575e6b3b7efe8ee4e" title=" " alt="" coords="38,157,155,184"/>
<area shape="rect"  href="interface_8c.html#a114872fe884f1bfef58320157b4f7dde" title=" " alt="" coords="20,208,173,235"/>
<area shape="rect"  href="interface_8c.html#a19aadf1b14c2f9b7a383df54e1dde8a3" title=" " alt="" coords="38,259,155,285"/>
<area shape="rect"  href="interface_8c.html#a9115211e9e3263b041178a3d5e25d308" title=" " alt="" coords="35,309,159,336"/>
<area shape="rect"  href="interface_8c.html#a0fe201430ec698339f5d631e0fe70bc9" title=" " alt="" coords="23,360,170,387"/>
<area shape="rect"  href="interface_8c.html#a29ecd7d869df0d27d00162bbe203b815" title=" " alt="" coords="33,411,161,437"/>
<area shape="rect"  href="interface_8c.html#a02a11573687817c95904cbac8cc09437" title=" " alt="" coords="25,461,168,488"/>
<area shape="rect"  href="interface_8c.html#a33a313b0f1a4759adae6773641050056" title=" " alt="" coords="21,512,172,539"/>
<area shape="rect"  href="interface_8c.html#a71e61b05b04a6cbfa9efdf5e96c0df62" title=" " alt="" coords="29,563,164,589"/>
<area shape="rect"  href="interface_8c.html#a23ab2b5a1284d8dd7fbfbae55a92c441" title=" " alt="" coords="19,613,175,640"/>
<area shape="rect"  href="interface_8c.html#a88f1b7b9fa68bdfc5ac6b04394bad151" title=" " alt="" coords="23,664,170,691"/>
<area shape="rect"  href="interface_8c.html#ac2bc71c1df22109a4b08cf02114e0f15" title=" " alt="" coords="39,715,154,741"/>
<area shape="rect"  href="interface_8c.html#a96745e9a2c107a853c3c609019dd011b" title=" " alt="" coords="35,765,158,792"/>
<area shape="rect"  href="interface_8c.html#aada45e99374548a9093bebfffd95ecc5" title=" " alt="" coords="38,816,155,843"/>
<area shape="rect"  href="interface_8c.html#a7968f702e55592a82204d3bda388eba3" title=" " alt="" coords="37,867,157,893"/>
<area shape="rect"  href="interface_8c.html#ad3534b8542dda3eb6421b2c5fbd9a916" title=" " alt="" coords="31,917,162,944"/>
<area shape="rect"  href="interface_8c.html#a320bd3334b3dede48046b34a0b732863" title=" " alt="" coords="17,968,176,995"/>
<area shape="rect"  href="interface_8c.html#af243bec5d4c400644bc7585c587265bd" title=" " alt="" coords="17,1019,176,1045"/>
<area shape="rect"  href="interface_8c.html#a70855f6ef6b7d6ff60a73137cfa03884" title=" " alt="" coords="17,1069,176,1096"/>
<area shape="rect"  href="interface_8c.html#aea981aa55f62d0e4734a020b87e273fb" title=" " alt="" coords="27,1120,166,1147"/>
<area shape="rect"  href="interface_8c.html#a565aca487e89217bc7862cda478fc825" title=" " alt="" coords="27,1171,166,1197"/>
<area shape="rect"  href="interface_8c.html#afeb9ae84ede112262475ead0b88a8158" title=" " alt="" coords="24,1221,169,1248"/>
<area shape="rect"  href="interface_8c.html#a85cfbd620e4b8b50567e8041ad9d9ee8" title=" " alt="" coords="24,1272,169,1299"/>
<area shape="rect"  href="interface_8c.html#abbf26499a53b3d5641eddb4d67ce5000" title=" " alt="" coords="19,1323,174,1349"/>
<area shape="rect"  href="interface_8c.html#ae5486cdc7d0cc3f7f8d81446daaf71a3" title=" " alt="" coords="24,1373,169,1400"/>
<area shape="rect"  href="interface_8c.html#ab2e659b84d92bf91bac7725ccbd0b55b" title=" " alt="" coords="19,1424,174,1451"/>
<area shape="rect"  href="interface_8c.html#a55912bb88443315b370feddc0ee84c32" title=" " alt="" coords="20,1475,173,1501"/>
<area shape="rect"  href="interface_8c.html#a6df4b88e7c469caa0a252960704acead" title=" " alt="" coords="19,1525,175,1552"/>
<area shape="rect"  href="interface_8c.html#a7e65db9dc6c591f6c0874521d75c8e21" title=" " alt="" coords="11,1576,182,1603"/>
<area shape="rect"  href="interface_8c.html#a9250f009a72026473b76b26f29945462" title=" " alt="" coords="11,1627,182,1653"/>
<area shape="rect"  href="interface_8c.html#a6a8a27476492a4e3f4d69675327d090f" title=" " alt="" coords="35,1677,159,1704"/>
<area shape="rect"  href="interface_8c.html#adb5cb53c0c266d3d053ef905f2725f95" title=" " alt="" coords="35,1728,159,1755"/>
<area shape="rect"  href="interface_8c.html#ab6aff2a2fa56719489fc2f3230c34cfb" title=" " alt="" coords="17,1779,176,1805"/>
<area shape="rect"  href="interface_8c.html#aa40a4ececbe71626be83b08933f9d938" title=" " alt="" coords="31,1829,162,1856"/>
<area shape="rect"  href="interface_8c.html#ad47fb749a43eca0c23bf700bc3db283d" title=" " alt="" coords="33,1880,160,1907"/>
<area shape="rect"  href="interface_8c.html#af8ecad08313e88342badb322ab5bfe08" title=" " alt="" coords="23,1931,170,1957"/>
<area shape="rect"  href="interface_8c.html#ae14b757009262d3aac6398586dc65079" title=" " alt="" coords="38,1981,155,2008"/>
<area shape="rect"  href="interface_8c.html#a3d54047a4ae271d37578ea602efc4eba" title=" " alt="" coords="38,2032,155,2059"/>
<area shape="rect"  href="interface_8c.html#a804b2604c245332fd9122e381ad96b71" title=" " alt="" coords="16,2083,177,2109"/>
<area shape="rect"  href="interface_8c.html#a34db9030043650f74765c591449c20d0" title=" " alt="" coords="35,2133,159,2160"/>
<area shape="rect"  href="interface_8c.html#add487ed4a3ca1f5f0482b2d2e65d1196" title=" " alt="" coords="13,2184,180,2211"/>
<area shape="rect"  href="interface_8c.html#a1da1b0d1e5cb690d301b4d2e7947f86d" title=" " alt="" coords="31,2235,162,2261"/>
<area shape="rect"  href="interface_8c.html#a7d831db26ba077b3bf17023652f5ba7b" title=" " alt="" coords="25,2285,168,2312"/>
<area shape="rect"  href="interface_8c.html#ab90a264d500203b9002ab014719b47b8" title=" " alt="" coords="5,2336,188,2363"/>
</map>
</div>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
